#9E992D#9E992D

#9E992D is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.126 H 106.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9E992D
RGBrgb(158, 153, 45)
HSLhsl(57, 56%, 40%)
HSVhsv(57, 72%, 62%)
CMYKcmyk(0%, 3.2%, 71.5%, 38%)
CIE-LABlab(61.86, -11.18, 54.31)
CIE-LCHlch(61.86, 55.45, 101.63°)
OKLaboklab(66.74% -0.0362 0.1206)
OKLCHoklch(66.74% 0.126 106.7)
XYZxyz(25.9664, 30.2419, 6.9516)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E992D #2D329E
analogous
#9E602D #9E992D #6B9E2D
triadic
#9E992D #2D9E99 #992D9E
tetradic
#9E992D #2D9E60 #2D329E #9E2D6B
square
#9E992D #2D9E60 #2D329E #9E2D6B
split-complementary
#9E992D #2D6B9E #602D9E
monochromatic
#3F3D12 #6E6B1F #9E992D #C9C240 #D6D26F

Accessibility & contrast

On white

2.98
#9E992D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#9E992D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E992D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E992D#FFFFFF#000000##000000
##9E992D1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#AA8F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e992d;
/* rgb */ color: rgb(158, 153, 45);
/* oklch */ color: oklch(66.7% 0.126 106.7);
Tailwind
colors: {
  custom: {
    50: '#beb66d',
    500: '#9e992d',
    950: '#000000',
  },
}
SCSS
$custom: #9e992d;
$custom-light: #beb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e992d",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 57.345,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.12595,
    "h": 106.7
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#9E992D
secondary
#696DBD
accent
#4FDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E992D

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

Preview Lab → · Contrast checker → · Palette generator →

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