#9E9E23#9E9E23

#9E9E23 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.137 H 109.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E9E23
RGBrgb(158, 158, 35)
HSLhsl(60, 64%, 38%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0%, 0%, 77.8%, 38%)
CIE-LABlab(63.21, -14.26, 59.08)
CIE-LCHlch(63.21, 60.78, 103.57°)
OKLaboklab(67.8% -0.0458 0.1289)
OKLCHoklch(67.8% 0.137 109.6)
XYZxyz(26.6318, 31.8450, 6.3336)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E23 #23239E
analogous
#9E6023 #9E9E23 #609E23
triadic
#9E9E23 #239E9E #9E239E
tetradic
#9E9E23 #239E60 #23239E #9E2360
square
#9E9E23 #239E60 #23239E #9E2360
split-complementary
#9E9E23 #23609E #60239E
monochromatic
#3A3A0D #6C6C18 #9E9E23 #D0D02E #DCDC60

Accessibility & contrast

On white

2.85
#9E9E23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#9E9E23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E23
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E23#FFFFFF#000000##000000
##9E9E231.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9e23;
/* rgb */ color: rgb(158, 158, 35);
/* oklch */ color: oklch(67.8% 0.137 109.6);
Tailwind
colors: {
  custom: {
    50: '#beba69',
    500: '#9e9e23',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e23;
$custom-light: #beba69;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e23",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.678,
    "c": 0.13677,
    "h": 109.6
  },
  "luminance": 0.31844
}

Semantic roles & 50–950 ramp

primary
#9E9E23
secondary
#5C5CC1
accent
#41E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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