#9E992A#9E992A

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

Color values

HEX#9E992A
RGBrgb(158, 153, 42)
HSLhsl(57, 58%, 39%)
HSVhsv(57, 73%, 62%)
CMYKcmyk(0%, 3.2%, 73.4%, 38%)
CIE-LABlab(61.84, -11.33, 55.42)
CIE-LCHlch(61.84, 56.56, 101.55°)
OKLaboklab(66.72% -0.0369 0.1224)
OKLCHoklch(66.72% 0.128 106.8)
XYZxyz(25.9107, 30.2196, 6.6582)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E992A #2A2F9E
analogous
#9E5F2A #9E992A #699E2A
triadic
#9E992A #2A9E99 #992A9E
tetradic
#9E992A #2A9E5F #2A2F9E #9E2A69
square
#9E992A #2A9E5F #2A2F9E #9E2A69
split-complementary
#9E992A #2A699E #5F2A9E
monochromatic
#3D3B10 #6E6A1D #9E992A #CBC53A #D8D36B

Accessibility & contrast

On white

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

On black

7.04
#9E992A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E992A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E992A#FFFFFF#000000##000000
##9E992A1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e992a;
/* rgb */ color: rgb(158, 153, 42);
/* oklch */ color: oklch(66.7% 0.128 106.8);
Tailwind
colors: {
  custom: {
    50: '#beb66c',
    500: '#9e992a',
    950: '#000000',
  },
}
SCSS
$custom: #9e992a;
$custom-light: #beb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e992a",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 57.414,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.12787,
    "h": 106.8
  },
  "luminance": 0.30219
}

Semantic roles & 50–950 ramp

primary
#9E992A
secondary
#6669BE
accent
#4DE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E992A

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

Preview Lab → · Contrast checker → · Palette generator →

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