#9E952A#9E952A

#9E952A is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.124 H 104.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E952A
RGBrgb(158, 149, 42)
HSLhsl(55, 58%, 39%)
HSVhsv(55, 73%, 62%)
CMYKcmyk(0%, 5.7%, 73.4%, 38%)
CIE-LABlab(60.72, -9.20, 54.34)
CIE-LCHlch(60.72, 55.11, 99.61°)
OKLaboklab(65.82% -0.031 0.1201)
OKLCHoklch(65.82% 0.124 104.5)
XYZxyz(25.2670, 28.9322, 6.4436)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E952A #2A339E
analogous
#9E5B2A #9E952A #6D9E2A
triadic
#9E952A #2A9E95 #952A9E
tetradic
#9E952A #2A9E5B #2A339E #9E2A6D
square
#9E952A #2A9E5B #2A339E #9E2A6D
split-complementary
#9E952A #2A6D9E #5B2A9E
monochromatic
#3D3A10 #6E671D #9E952A #CBC03A #D8CF6B

Accessibility & contrast

On white

3.09
#9E952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9E952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E952A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E952A#FFFFFF#000000##000000
##9E952A1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29017
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#AA8B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e952a;
/* rgb */ color: rgb(158, 149, 42);
/* oklch */ color: oklch(65.8% 0.124 104.5);
Tailwind
colors: {
  custom: {
    50: '#beb36b',
    500: '#9e952a',
    950: '#000000',
  },
}
SCSS
$custom: #9e952a;
$custom-light: #beb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e952a",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 55.345,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.12406,
    "h": 104.5
  },
  "luminance": 0.28931
}

Semantic roles & 50–950 ramp

primary
#9E952A
secondary
#666CBE
accent
#53E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E952A

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

Preview Lab → · Contrast checker → · Palette generator →

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