#9FA33B#9FA33B

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

Color values

HEX#9FA33B
RGBrgb(159, 163, 59)
HSLhsl(62, 47%, 44%)
HSVhsv(62, 64%, 64%)
CMYKcmyk(2.5%, 0%, 63.8%, 36.1%)
CIE-LABlab(64.87, -15.15, 51.69)
CIE-LCHlch(64.87, 53.87, 106.33°)
OKLaboklab(69.19% -0.0459 0.1174)
OKLCHoklch(69.19% 0.126 111.4)
XYZxyz(28.1855, 33.8817, 9.1919)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA33B #3F3BA3
analogous
#A3733B #9FA33B #6BA33B
triadic
#9FA33B #3B9FA3 #A33B9F
tetradic
#9FA33B #3BA373 #3F3BA3 #A33B6B
square
#9FA33B #3BA373 #3F3BA3 #A33B6B
split-complementary
#9FA33B #3B6BA3 #733BA3
monochromatic
#47491A #73762B #9FA33B #BFC358 #D0D385

Accessibility & contrast

On white

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

On black

7.78
#9FA33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA33B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA33B#FFFFFF#000000##000000
##9FA33B1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa33b;
/* rgb */ color: rgb(159, 163, 59);
/* oklch */ color: oklch(69.2% 0.126 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe76',
    500: '#9fa33b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa33b;
$custom-light: #bebe76;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa33b",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 62.308,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69192,
    "c": 0.12608,
    "h": 111.4
  },
  "luminance": 0.33881
}

Semantic roles & 50–950 ramp

primary
#9FA33B
secondary
#7F7DBD
accent
#51D656
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA33B

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

Preview Lab → · Contrast checker → · Palette generator →

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