#9CA02F#9CA02F

#9CA02F is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.2% C 0.132 H 111.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9CA02F
RGBrgb(156, 160, 47)
HSLhsl(62, 55%, 41%)
HSVhsv(62, 71%, 63%)
CMYKcmyk(2.5%, 0%, 70.6%, 37.3%)
CIE-LABlab(63.68, -15.62, 55.28)
CIE-LCHlch(63.68, 57.44, 105.78°)
OKLaboklab(68.16% -0.0483 0.1231)
OKLCHoklch(68.16% 0.132 111.4)
XYZxyz(26.7951, 32.4154, 7.5341)
Luminance0.3241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA02F #332FA0
analogous
#A06B2F #9CA02F #63A02F
triadic
#9CA02F #2F9CA0 #A02F9C
tetradic
#9CA02F #2FA06B #332FA0 #A02F63
square
#9CA02F #2FA06B #332FA0 #A02F63
split-complementary
#9CA02F #2F63A0 #6B2FA0
monochromatic
#404113 #6E7121 #9CA02F #C3C844 #D3D673

Accessibility & contrast

On white

2.81
#9CA02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#9CA02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA02F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA02F#FFFFFF#000000##000000
##9CA02F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991C
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#A7968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca02f;
/* rgb */ color: rgb(156, 160, 47);
/* oklch */ color: oklch(68.2% 0.132 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbb6f',
    500: '#9ca02f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca02f;
$custom-light: #bcbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca02f",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 62.124,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68157,
    "c": 0.13225,
    "h": 111.4
  },
  "luminance": 0.32415
}

Semantic roles & 50–950 ramp

primary
#9CA02F
secondary
#706DBE
accent
#4ADE4F
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9CA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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