#9CA62F#9CA62F

#9CA62F is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.139 H 114.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9CA62F
RGBrgb(156, 166, 47)
HSLhsl(65, 56%, 42%)
HSVhsv(65, 72%, 65%)
CMYKcmyk(6%, 0%, 71.7%, 34.9%)
CIE-LABlab(65.39, -18.70, 56.96)
CIE-LCHlch(65.39, 59.95, 108.17°)
OKLaboklab(69.53% -0.0569 0.1266)
OKLCHoklch(69.53% 0.139 114.2)
XYZxyz(27.8604, 34.5461, 7.8892)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA62F #392FA6
analogous
#A6752F #9CA62F #61A62F
triadic
#9CA62F #2F9CA6 #A62F9C
tetradic
#9CA62F #2FA675 #392FA6 #A62F61
square
#9CA62F #2FA675 #392FA6 #A62F61
split-complementary
#9CA62F #2F61A6 #752FA6
monochromatic
#424714 #6F7621 #9CA62F #C0CB47 #D0D877

Accessibility & contrast

On white

2.66
#9CA62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#9CA62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA62F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA62F#FFFFFF#000000##000000
##9CA62F1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#A69C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca62f;
/* rgb */ color: rgb(156, 166, 47);
/* oklch */ color: oklch(69.5% 0.139 114.2);
Tailwind
colors: {
  custom: {
    50: '#bcc070',
    500: '#9ca62f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca62f;
$custom-light: #bcc070;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca62f",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 65.042,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69525,
    "c": 0.13884,
    "h": 114.2
  },
  "luminance": 0.34546
}

Semantic roles & 50–950 ramp

primary
#9CA62F
secondary
#7770C1
accent
#49DF55
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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