#9E952F#9E952F

#9E952F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.121 H 104.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E952F
RGBrgb(158, 149, 47)
HSLhsl(55, 54%, 40%)
HSVhsv(55, 70%, 62%)
CMYKcmyk(0%, 5.7%, 70.3%, 38%)
CIE-LABlab(60.76, -8.94, 52.43)
CIE-LCHlch(60.76, 53.19, 99.68°)
OKLaboklab(65.86% -0.0297 0.117)
OKLCHoklch(65.86% 0.121 104.2)
XYZxyz(25.3621, 28.9702, 6.9446)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E952F #2F389E
analogous
#9E5D2F #9E952F #6F9E2F
triadic
#9E952F #2F9E95 #952F9E
tetradic
#9E952F #2F9E5D #2F389E #9E2F6F
square
#9E952F #2F9E5D #2F389E #9E2F6F
split-complementary
#9E952F #2F6F9E #5D2F9E
monochromatic
#403C13 #6F6921 #9E952F #C7BC43 #D5CD72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E952F#FFFFFF#000000##000000
##9E952F1.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)
#A29020
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e952f;
/* rgb */ color: rgb(158, 149, 47);
/* oklch */ color: oklch(65.9% 0.121 104.2);
Tailwind
colors: {
  custom: {
    50: '#beb36e',
    500: '#9e952f',
    950: '#000000',
  },
}
SCSS
$custom: #9e952f;
$custom-light: #beb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e952f",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 55.135,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65862,
    "c": 0.12073,
    "h": 104.2
  },
  "luminance": 0.28969
}

Semantic roles & 50–950 ramp

primary
#9E952F
secondary
#6C73BD
accent
#56DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9E952F

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

Preview Lab → · Contrast checker → · Palette generator →

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