#9E9D23#9E9D23

#9E9D23 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.6% C 0.136 H 109.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E9D23
RGBrgb(158, 157, 35)
HSLhsl(60, 64%, 38%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0%, 0.6%, 77.8%, 38%)
CIE-LABlab(62.93, -13.74, 58.83)
CIE-LCHlch(62.93, 60.41, 103.14°)
OKLaboklab(67.57% -0.0443 0.1283)
OKLCHoklch(67.57% 0.136 109.1)
XYZxyz(26.4619, 31.5052, 6.2770)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D23 #23249E
analogous
#9E5F23 #9E9D23 #629E23
triadic
#9E9D23 #239E9D #9D239E
tetradic
#9E9D23 #239E5F #23249E #9E2362
square
#9E9D23 #239E5F #23249E #9E2362
split-complementary
#9E9D23 #23629E #5F239E
monochromatic
#3A390D #6C6B18 #9E9D23 #D0CF2E #DCDB60

Accessibility & contrast

On white

2.88
#9E9D23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9E9D23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D23
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D23#FFFFFF#000000##000000
##9E9D231.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#AA9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9d23;
/* rgb */ color: rgb(158, 157, 35);
/* oklch */ color: oklch(67.6% 0.136 109.1);
Tailwind
colors: {
  custom: {
    50: '#beb969',
    500: '#9e9d23',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d23;
$custom-light: #beb969;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d23",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 59.512,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67574,
    "c": 0.13578,
    "h": 109.1
  },
  "luminance": 0.31504
}

Semantic roles & 50–950 ramp

primary
#9E9D23
secondary
#5C5DC1
accent
#42E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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