#9FA02E#9FA02E

#9FA02E is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.132 H 109.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9FA02E
RGBrgb(159, 160, 46)
HSLhsl(61, 55%, 40%)
HSVhsv(61, 71%, 63%)
CMYKcmyk(0.6%, 0%, 71.2%, 37.3%)
CIE-LABlab(63.93, -14.36, 55.98)
CIE-LCHlch(63.93, 57.79, 104.39°)
OKLaboklab(68.41% -0.0451 0.1243)
OKLCHoklch(68.41% 0.132 109.9)
XYZxyz(27.3630, 32.7106, 7.4566)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA02E #2F2EA0
analogous
#A0682E #9FA02E #66A02E
triadic
#9FA02E #2E9FA0 #A02E9F
tetradic
#9FA02E #2EA068 #2F2EA0 #A02E66
square
#9FA02E #2EA068 #2F2EA0 #A02E66
split-complementary
#9FA02E #2E66A0 #682EA0
monochromatic
#414113 #707020 #9FA02E #C8C942 #D6D672

Accessibility & contrast

On white

2.78
#9FA02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#9FA02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA02E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA02E#FFFFFF#000000##000000
##9FA02E1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991A
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#AA968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa02e;
/* rgb */ color: rgb(159, 160, 46);
/* oklch */ color: oklch(68.4% 0.132 109.9);
Tailwind
colors: {
  custom: {
    50: '#bfbb6f',
    500: '#9fa02e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa02e;
$custom-light: #bfbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa02e",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 60.526,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.13222,
    "h": 109.9
  },
  "luminance": 0.3271
}

Semantic roles & 50–950 ramp

primary
#9FA02E
secondary
#6D6CBE
accent
#49DF4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9FA02E

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

Preview Lab → · Contrast checker → · Palette generator →

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