#9CA43B#9CA43B

#9CA43B is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.128 H 113.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9CA43B
RGBrgb(156, 164, 59)
HSLhsl(65, 47%, 44%)
HSVhsv(65, 64%, 64%)
CMYKcmyk(4.9%, 0%, 64%, 35.7%)
CIE-LABlab(64.91, -16.95, 51.66)
CIE-LCHlch(64.91, 54.37, 108.17°)
OKLaboklab(69.17% -0.0508 0.1174)
OKLCHoklch(69.17% 0.128 113.4)
XYZxyz(27.7759, 33.9351, 9.2238)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA43B #433BA4
analogous
#A4773B #9CA43B #67A43B
triadic
#9CA43B #3B9CA4 #A43B9C
tetradic
#9CA43B #3BA477 #433BA4 #A43B67
square
#9CA43B #3BA477 #433BA4 #A43B67
split-complementary
#9CA43B #3B67A4 #773BA4
monochromatic
#464A1B #71772B #9CA43B #BBC359 #CED386

Accessibility & contrast

On white

2.70
#9CA43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#9CA43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA43B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA43B#FFFFFF#000000##000000
##9CA43B1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2E
Deuteranopia (green-blind)
#B09F42
Tritanopia (blue-blind)
#A69B8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca43b;
/* rgb */ color: rgb(156, 164, 59);
/* oklch */ color: oklch(69.2% 0.128 113.4);
Tailwind
colors: {
  custom: {
    50: '#bcbe76',
    500: '#9ca43b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca43b;
$custom-light: #bcbe76;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca43b",
  "rgb": {
    "r": 156,
    "g": 164,
    "b": 59
  },
  "hsl": {
    "h": 64.571,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69167,
    "c": 0.12795,
    "h": 113.4
  },
  "luminance": 0.33935
}

Semantic roles & 50–950 ramp

primary
#9CA43B
secondary
#827DBE
accent
#51D75B
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA43B

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

Preview Lab → · Contrast checker → · Palette generator →

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