#9E9F2A#9E9F2A

#9E9F2A is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.1% C 0.134 H 110.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9E9F2A
RGBrgb(158, 159, 42)
HSLhsl(61, 58%, 39%)
HSVhsv(61, 74%, 62%)
CMYKcmyk(0.6%, 0%, 73.6%, 37.6%)
CIE-LABlab(63.54, -14.48, 57.03)
CIE-LCHlch(63.54, 58.84, 104.24°)
OKLaboklab(68.07% -0.0457 0.1258)
OKLCHoklch(68.07% 0.134 110)
XYZxyz(26.9176, 32.2333, 6.9938)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9F2A #2B2A9F
analogous
#9F662A #9E9F2A #649F2A
triadic
#9E9F2A #2A9E9F #9F2A9E
tetradic
#9E9F2A #2A9F66 #2B2A9F #9F2A64
square
#9E9F2A #2A9F66 #2B2A9F #9F2A64
split-complementary
#9E9F2A #2A649F #662A9F
monochromatic
#3E3E10 #6E6F1D #9E9F2A #CACB3B #D7D86B

Accessibility & contrast

On white

2.82
#9E9F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#9E9F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9F2A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9F2A#FFFFFF#000000##000000
##9E9F2A1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9813
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#A99589
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e9f2a;
/* rgb */ color: rgb(158, 159, 42);
/* oklch */ color: oklch(68.1% 0.134 110.0);
Tailwind
colors: {
  custom: {
    50: '#bebb6c',
    500: '#9e9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e9f2a;
$custom-light: #bebb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9f2a",
  "rgb": {
    "r": 158,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 60.513,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68068,
    "c": 0.13389,
    "h": 110
  },
  "luminance": 0.32233
}

Semantic roles & 50–950 ramp

primary
#9E9F2A
secondary
#6766BF
accent
#46E148
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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