#9E951C#9E951C

#9E951C is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.132 H 104.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E951C
RGBrgb(158, 149, 28)
HSLhsl(56, 70%, 36%)
HSVhsv(56, 82%, 62%)
CMYKcmyk(0%, 5.7%, 82.3%, 38%)
CIE-LABlab(60.65, -9.77, 58.91)
CIE-LCHlch(60.65, 59.72, 99.42°)
OKLaboklab(65.74% -0.0338 0.1272)
OKLCHoklch(65.74% 0.132 104.9)
XYZxyz(25.0587, 28.8489, 5.3468)
Luminance0.2885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E951C #1C259E
analogous
#9E541C #9E951C #669E1C
triadic
#9E951C #1C9E95 #951C9E
tetradic
#9E951C #1C9E54 #1C259E #9E1C66
square
#9E951C #1C9E54 #1C259E #9E1C66
split-complementary
#9E951C #1C669E #541C9E
monochromatic
#36330A #6A6413 #9E951C #D2C625 #E1D754

Accessibility & contrast

On white

3.10
#9E951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9E951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E951C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E951C#FFFFFF#000000##000000
##9E951C1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A69527
Tritanopia (blue-blind)
#AA8A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e951c;
/* rgb */ color: rgb(158, 149, 28);
/* oklch */ color: oklch(65.7% 0.132 104.9);
Tailwind
colors: {
  custom: {
    50: '#bfb365',
    500: '#9e951c',
    950: '#000000',
  },
}
SCSS
$custom: #9e951c;
$custom-light: #bfb365;
$custom-dark: #000000;
JSON
{
  "hex": "#9e951c",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 55.846,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65742,
    "c": 0.13159,
    "h": 104.9
  },
  "luminance": 0.28848
}

Semantic roles & 50–950 ramp

primary
#9E951C
secondary
#525AC4
accent
#47ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E951C

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

Preview Lab → · Contrast checker → · Palette generator →

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