#9E9A2E#9E9A2E

#9E9A2E is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.126 H 107.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9E9A2E
RGBrgb(158, 154, 46)
HSLhsl(58, 55%, 40%)
HSVhsv(58, 71%, 62%)
CMYKcmyk(0%, 2.5%, 70.9%, 38%)
CIE-LABlab(62.15, -11.65, 54.21)
CIE-LCHlch(62.15, 55.45, 102.13°)
OKLaboklab(66.97% -0.0374 0.1206)
OKLCHoklch(66.97% 0.126 107.3)
XYZxyz(26.1503, 30.5784, 7.1090)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9A2E #2E329E
analogous
#9E622E #9E9A2E #6A9E2E
triadic
#9E9A2E #2E9E9A #9A2E9E
tetradic
#9E9A2E #2E9E62 #2E329E #9E2E6A
square
#9E9A2E #2E9E62 #2E329E #9E2E6A
split-complementary
#9E9A2E #2E6A9E #622E9E
monochromatic
#3F3E12 #6F6C20 #9E9A2E #C8C341 #D6D271

Accessibility & contrast

On white

2.95
#9E9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#9E9A2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9A2E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9A2E#FFFFFF#000000##000000
##9E9A2E1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e9a2e;
/* rgb */ color: rgb(158, 154, 46);
/* oklch */ color: oklch(67.0% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#beb76e',
    500: '#9e9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #9e9a2e;
$custom-light: #beb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9a2e",
  "rgb": {
    "r": 158,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 57.857,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.6697,
    "c": 0.12627,
    "h": 107.3
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#9E9A2E
secondary
#6B6EBD
accent
#4FDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9E9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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