#9E9B24#9E9B24

#9E9B24 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.133 H 108.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9E9B24
RGBrgb(158, 155, 36)
HSLhsl(59, 63%, 38%)
HSVhsv(59, 77%, 62%)
CMYKcmyk(0%, 1.9%, 77.2%, 38%)
CIE-LABlab(62.37, -12.65, 58.00)
CIE-LCHlch(62.37, 59.36, 102.30°)
OKLaboklab(67.13% -0.0412 0.1268)
OKLCHoklch(67.13% 0.133 108)
XYZxyz(26.1414, 30.8400, 6.2444)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B24 #24279E
analogous
#9E5E24 #9E9B24 #649E24
triadic
#9E9B24 #249E9B #9B249E
tetradic
#9E9B24 #249E5E #24279E #9E2464
square
#9E9B24 #249E5E #24279E #9E2464
split-complementary
#9E9B24 #24649E #5E249E
monochromatic
#3A390D #6C6A19 #9E9B24 #D0CC2F #DBD861

Accessibility & contrast

On white

2.93
#9E9B24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9E9B24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9B24
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9B24#FFFFFF#000000##000000
##9E9B241.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89505
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9b24;
/* rgb */ color: rgb(158, 155, 36);
/* oklch */ color: oklch(67.1% 0.133 108.0);
Tailwind
colors: {
  custom: {
    50: '#beb869',
    500: '#9e9b24',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b24;
$custom-light: #beb869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b24",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 58.525,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67129,
    "c": 0.13328,
    "h": 108
  },
  "luminance": 0.30839
}

Semantic roles & 50–950 ramp

primary
#9E9B24
secondary
#5E60C0
accent
#46E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9B24

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

Preview Lab → · Contrast checker → · Palette generator →

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