#9E952B#9E952B

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

Color values

HEX#9E952B
RGBrgb(158, 149, 43)
HSLhsl(55, 57%, 39%)
HSVhsv(55, 73%, 62%)
CMYKcmyk(0%, 5.7%, 72.8%, 38%)
CIE-LABlab(60.73, -9.15, 53.97)
CIE-LCHlch(60.73, 54.74, 99.62°)
OKLaboklab(65.83% -0.0307 0.1195)
OKLCHoklch(65.83% 0.123 104.4)
XYZxyz(25.2851, 28.9394, 6.5390)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E952B #2B349E
analogous
#9E5B2B #9E952B #6E9E2B
triadic
#9E952B #2B9E95 #952B9E
tetradic
#9E952B #2B9E5B #2B349E #9E2B6E
square
#9E952B #2B9E5B #2B349E #9E2B6E
split-complementary
#9E952B #2B6E9E #5B2B9E
monochromatic
#3E3A11 #6E681E #9E952B #CABF3C #D7CF6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E952B#FFFFFF#000000##000000
##9E952B1.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)
#A29019
Deuteranopia (green-blind)
#A59532
Tritanopia (blue-blind)
#AA8B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e952b;
/* rgb */ color: rgb(158, 149, 43);
/* oklch */ color: oklch(65.8% 0.123 104.4);
Tailwind
colors: {
  custom: {
    50: '#beb36c',
    500: '#9e952b',
    950: '#000000',
  },
}
SCSS
$custom: #9e952b;
$custom-light: #beb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e952b",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 55.304,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.12342,
    "h": 104.4
  },
  "luminance": 0.28938
}

Semantic roles & 50–950 ramp

primary
#9E952B
secondary
#676EBE
accent
#53E047
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E952B

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

Preview Lab → · Contrast checker → · Palette generator →

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