#9E9B23#9E9B23

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

Color values

HEX#9E9B23
RGBrgb(158, 155, 35)
HSLhsl(59, 64%, 38%)
HSVhsv(59, 78%, 62%)
CMYKcmyk(0%, 1.9%, 77.8%, 38%)
CIE-LABlab(62.37, -12.69, 58.32)
CIE-LCHlch(62.37, 59.68, 102.28°)
OKLaboklab(67.12% -0.0414 0.1272)
OKLCHoklch(67.12% 0.134 108)
XYZxyz(26.1263, 30.8340, 6.1651)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B23 #23269E
analogous
#9E5E23 #9E9B23 #639E23
triadic
#9E9B23 #239E9B #9B239E
tetradic
#9E9B23 #239E5E #23269E #9E2363
square
#9E9B23 #239E5E #23269E #9E2363
split-complementary
#9E9B23 #23639E #5E239E
monochromatic
#3A390D #6C6A18 #9E9B23 #D0CC2E #DCD960

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9B23#FFFFFF#000000##000000
##9E9B231.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)
#A89502
Deuteranopia (green-blind)
#AA992D
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9b23;
/* rgb */ color: rgb(158, 155, 35);
/* oklch */ color: oklch(67.1% 0.134 108.0);
Tailwind
colors: {
  custom: {
    50: '#beb869',
    500: '#9e9b23',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b23;
$custom-light: #beb869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b23",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 58.537,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67123,
    "c": 0.13381,
    "h": 108
  },
  "luminance": 0.30833
}

Semantic roles & 50–950 ramp

primary
#9E9B23
secondary
#5C5FC1
accent
#45E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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