#9BA323#9BA323

#9BA323 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.143 H 113.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9BA323
RGBrgb(155, 163, 35)
HSLhsl(64, 65%, 39%)
HSVhsv(64, 79%, 64%)
CMYKcmyk(4.9%, 0%, 78.5%, 36.1%)
CIE-LABlab(64.39, -18.16, 60.06)
CIE-LCHlch(64.39, 62.74, 106.82°)
OKLaboklab(68.68% -0.0564 0.1311)
OKLCHoklch(68.68% 0.143 113.3)
XYZxyz(26.9190, 33.2849, 6.5964)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA323 #2B23A3
analogous
#A36B23 #9BA323 #5BA323
triadic
#9BA323 #239BA3 #A3239B
tetradic
#9BA323 #23A36B #2B23A3 #A3235B
square
#9BA323 #23A36B #2B23A3 #A3235B
split-complementary
#9BA323 #235BA3 #6B23A3
monochromatic
#3B3E0D #6B7118 #9BA323 #C9D331 #D6DD63

Accessibility & contrast

On white

2.74
#9BA323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9BA323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA323
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA323#FFFFFF#000000##000000
##9BA3231.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09D2F
Tritanopia (blue-blind)
#A6998B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba323;
/* rgb */ color: rgb(155, 163, 35);
/* oklch */ color: oklch(68.7% 0.143 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe6a',
    500: '#9ba323',
    950: '#000000',
  },
}
SCSS
$custom: #9ba323;
$custom-light: #bcbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba323",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 63.75,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68681,
    "c": 0.14271,
    "h": 113.3
  },
  "luminance": 0.33284
}

Semantic roles & 50–950 ramp

primary
#9BA323
secondary
#655FC3
accent
#40E84B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA323

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9BA323 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva