#9E9C2D#9E9C2D

#9E9C2D is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.129 H 108.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9E9C2D
RGBrgb(158, 156, 45)
HSLhsl(59, 56%, 40%)
HSVhsv(59, 72%, 62%)
CMYKcmyk(0%, 1.3%, 71.5%, 38%)
CIE-LABlab(62.71, -12.76, 55.14)
CIE-LCHlch(62.71, 56.59, 103.03°)
OKLaboklab(67.41% -0.0406 0.1224)
OKLCHoklch(67.41% 0.129 108.4)
XYZxyz(26.4636, 31.2363, 7.1173)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9C2D #2D2F9E
analogous
#9E642D #9E9C2D #689E2D
triadic
#9E9C2D #2D9E9C #9C2D9E
tetradic
#9E9C2D #2D9E64 #2D2F9E #9E2D68
square
#9E9C2D #2D9E64 #2D2F9E #9E2D68
split-complementary
#9E9C2D #2D689E #642D9E
monochromatic
#3F3E12 #6E6D1F #9E9C2D #C9C640 #D6D46F

Accessibility & contrast

On white

2.90
#9E9C2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#9E9C2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9C2D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9C2D#FFFFFF#000000##000000
##9E9C2D1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961A
Deuteranopia (green-blind)
#AB9935
Tritanopia (blue-blind)
#A99286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9c2d;
/* rgb */ color: rgb(158, 156, 45);
/* oklch */ color: oklch(67.4% 0.129 108.4);
Tailwind
colors: {
  custom: {
    50: '#beb96e',
    500: '#9e9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #9e9c2d;
$custom-light: #beb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9c2d",
  "rgb": {
    "r": 158,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 58.938,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.12895,
    "h": 108.4
  },
  "luminance": 0.31235
}

Semantic roles & 50–950 ramp

primary
#9E9C2D
secondary
#696BBD
accent
#4BDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9E9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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