#9E9E2F#9E9E2F

#9E9E2F 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.39:1 contrast (WCAG AA passes).

Color values

HEX#9E9E2F
RGBrgb(158, 158, 47)
HSLhsl(60, 54%, 40%)
HSVhsv(60, 70%, 62%)
CMYKcmyk(0%, 0%, 70.3%, 38%)
CIE-LABlab(63.28, -13.70, 54.94)
CIE-LCHlch(63.28, 56.62, 104.00°)
OKLaboklab(67.88% -0.0431 0.1223)
OKLCHoklch(67.88% 0.13 109.4)
XYZxyz(26.8414, 31.9288, 7.4377)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E2F #2F2F9E
analogous
#9E662F #9E9E2F #669E2F
triadic
#9E9E2F #2F9E9E #9E2F9E
tetradic
#9E9E2F #2F9E66 #2F2F9E #9E2F66
square
#9E9E2F #2F9E66 #2F2F9E #9E2F66
split-complementary
#9E9E2F #2F669E #662F9E
monochromatic
#404013 #6F6F21 #9E9E2F #C7C743 #D5D572

Accessibility & contrast

On white

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

On black

7.39
#9E9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E2F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E2F#FFFFFF#000000##000000
##9E9E2F1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9e2f;
/* rgb */ color: rgb(158, 158, 47);
/* oklch */ color: oklch(67.9% 0.130 109.4);
Tailwind
colors: {
  custom: {
    50: '#beba6f',
    500: '#9e9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e2f;
$custom-light: #beba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e2f",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67877,
    "c": 0.12968,
    "h": 109.4
  },
  "luminance": 0.31928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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