#9E9E2E#9E9E2E

#9E9E2E is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.9% C 0.130 H 109.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9E9E2E
RGBrgb(158, 158, 46)
HSLhsl(60, 55%, 40%)
HSVhsv(60, 71%, 62%)
CMYKcmyk(0%, 0%, 70.9%, 38%)
CIE-LABlab(63.28, -13.76, 55.32)
CIE-LCHlch(63.28, 57.00, 103.96°)
OKLaboklab(67.87% -0.0433 0.1229)
OKLCHoklch(67.87% 0.13 109.4)
XYZxyz(26.8215, 31.9209, 7.3327)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E2E #2E2E9E
analogous
#9E662E #9E9E2E #669E2E
triadic
#9E9E2E #2E9E9E #9E2E9E
tetradic
#9E9E2E #2E9E66 #2E2E9E #9E2E66
square
#9E9E2E #2E9E66 #2E2E9E #9E2E66
split-complementary
#9E9E2E #2E669E #662E9E
monochromatic
#3F3F12 #6F6F20 #9E9E2E #C8C841 #D6D671

Accessibility & contrast

On white

2.84
#9E9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#9E9E2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E2E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E2E#FFFFFF#000000##000000
##9E9E2E1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9e2e;
/* rgb */ color: rgb(158, 158, 46);
/* oklch */ color: oklch(67.9% 0.130 109.4);
Tailwind
colors: {
  custom: {
    50: '#beba6e',
    500: '#9e9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e2e;
$custom-light: #beba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e2e",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.6787,
    "c": 0.13035,
    "h": 109.4
  },
  "luminance": 0.3192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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