#9D9E2E#9D9E2E

#9D9E2E is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.131 H 109.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9D9E2E
RGBrgb(157, 158, 46)
HSLhsl(61, 55%, 40%)
HSVhsv(61, 71%, 62%)
CMYKcmyk(0.6%, 0%, 70.9%, 38%)
CIE-LABlab(63.19, -14.19, 55.20)
CIE-LCHlch(63.19, 57.00, 104.42°)
OKLaboklab(67.78% -0.0445 0.1227)
OKLCHoklch(67.78% 0.131 109.9)
XYZxyz(26.6255, 31.8198, 7.3235)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E2E #2F2E9E
analogous
#9E672E #9D9E2E #659E2E
triadic
#9D9E2E #2E9D9E #9E2E9D
tetradic
#9D9E2E #2E9E67 #2F2E9E #9E2E65
square
#9D9E2E #2E9E67 #2F2E9E #9E2E65
split-complementary
#9D9E2E #2E659E #672E9E
monochromatic
#3F3F12 #6E6F20 #9D9E2E #C7C841 #D5D671

Accessibility & contrast

On white

2.85
#9D9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9D9E2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E2E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E2E#FFFFFF#000000##000000
##9D9E2E1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#A89488
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e2e;
/* rgb */ color: rgb(157, 158, 46);
/* oklch */ color: oklch(67.8% 0.131 109.9);
Tailwind
colors: {
  custom: {
    50: '#bdba6e',
    500: '#9d9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e2e;
$custom-light: #bdba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e2e",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 60.536,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.67783,
    "c": 0.13056,
    "h": 109.9
  },
  "luminance": 0.31819
}

Semantic roles & 50–950 ramp

primary
#9D9E2E
secondary
#6B6BBD
accent
#4ADE4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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