#9E992B#9E992B

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

Color values

HEX#9E992B
RGBrgb(158, 153, 43)
HSLhsl(57, 57%, 39%)
HSVhsv(57, 73%, 62%)
CMYKcmyk(0%, 3.2%, 72.8%, 38%)
CIE-LABlab(61.85, -11.28, 55.05)
CIE-LCHlch(61.85, 56.20, 101.58°)
OKLaboklab(66.72% -0.0367 0.1218)
OKLCHoklch(66.72% 0.127 106.8)
XYZxyz(25.9288, 30.2269, 6.7536)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E992B #2B309E
analogous
#9E5F2B #9E992B #6A9E2B
triadic
#9E992B #2B9E99 #992B9E
tetradic
#9E992B #2B9E5F #2B309E #9E2B6A
square
#9E992B #2B9E5F #2B309E #9E2B6A
split-complementary
#9E992B #2B6A9E #5F2B9E
monochromatic
#3E3C11 #6E6A1E #9E992B #CAC43C #D7D26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E992B#FFFFFF#000000##000000
##9E992B1.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)
#A69317
Deuteranopia (green-blind)
#A99733
Tritanopia (blue-blind)
#AA8F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e992b;
/* rgb */ color: rgb(158, 153, 43);
/* oklch */ color: oklch(66.7% 0.127 106.8);
Tailwind
colors: {
  custom: {
    50: '#beb66c',
    500: '#9e992b',
    950: '#000000',
  },
}
SCSS
$custom: #9e992b;
$custom-light: #beb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e992b",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 57.391,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66724,
    "c": 0.12724,
    "h": 106.8
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

primary
#9E992B
secondary
#676BBE
accent
#4EE047
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E992B

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

Preview Lab → · Contrast checker → · Palette generator →

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