#9FA43B#9FA43B

#9FA43B is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.127 H 111.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9FA43B
RGBrgb(159, 164, 59)
HSLhsl(63, 47%, 44%)
HSVhsv(63, 64%, 64%)
CMYKcmyk(3%, 0%, 64%, 35.7%)
CIE-LABlab(65.15, -15.66, 51.99)
CIE-LCHlch(65.15, 54.30, 106.77°)
OKLaboklab(69.42% -0.0474 0.118)
OKLCHoklch(69.42% 0.127 111.9)
XYZxyz(28.3637, 34.2383, 9.2513)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA43B #403BA4
analogous
#A4743B #9FA43B #6AA43B
triadic
#9FA43B #3B9FA4 #A43B9F
tetradic
#9FA43B #3BA474 #403BA4 #A43B6A
square
#9FA43B #3BA474 #403BA4 #A43B6A
split-complementary
#9FA43B #3B6AA4 #743BA4
monochromatic
#484A1B #73772B #9FA43B #BEC359 #D0D386

Accessibility & contrast

On white

2.68
#9FA43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#9FA43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA43B
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA43B#FFFFFF#000000##000000
##9FA43B1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2E
Deuteranopia (green-blind)
#B09F42
Tritanopia (blue-blind)
#A99A8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa43b;
/* rgb */ color: rgb(159, 164, 59);
/* oklch */ color: oklch(69.4% 0.127 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebe76',
    500: '#9fa43b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa43b;
$custom-light: #bebe76;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa43b",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 59
  },
  "hsl": {
    "h": 62.857,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69418,
    "c": 0.1272,
    "h": 111.9
  },
  "luminance": 0.34238
}

Semantic roles & 50–950 ramp

primary
#9FA43B
secondary
#807DBE
accent
#51D757
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA43B

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

Preview Lab → · Contrast checker → · Palette generator →

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