#9CA62E#9CA62E

#9CA62E 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#9CA62E
RGBrgb(156, 166, 46)
HSLhsl(65, 57%, 42%)
HSVhsv(65, 72%, 65%)
CMYKcmyk(6%, 0%, 72.3%, 34.9%)
CIE-LABlab(65.39, -18.75, 57.32)
CIE-LCHlch(65.39, 60.30, 108.11°)
OKLaboklab(69.52% -0.0572 0.1272)
OKLCHoklch(69.52% 0.139 114.2)
XYZxyz(27.8405, 34.5381, 7.7842)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA62E #382EA6
analogous
#A6742E #9CA62E #60A62E
triadic
#9CA62E #2E9CA6 #A62E9C
tetradic
#9CA62E #2EA674 #382EA6 #A62E60
square
#9CA62E #2EA674 #382EA6 #A62E60
split-complementary
#9CA62E #2E60A6 #742EA6
monochromatic
#424613 #6F7621 #9CA62E #C0CC46 #D1D976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA62E#FFFFFF#000000##000000
##9CA62E1.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)
#B29E18
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#A69C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca62e;
/* rgb */ color: rgb(156, 166, 46);
/* oklch */ color: oklch(69.5% 0.139 114.2);
Tailwind
colors: {
  custom: {
    50: '#bcc06f',
    500: '#9ca62e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca62e;
$custom-light: #bcc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca62e",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 65,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69518,
    "c": 0.13947,
    "h": 114.2
  },
  "luminance": 0.34538
}

Semantic roles & 50–950 ramp

primary
#9CA62E
secondary
#766FC1
accent
#48E055
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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