#9E9C23#9E9C23

#9E9C23 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.135 H 108.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E9C23
RGBrgb(158, 156, 35)
HSLhsl(59, 64%, 38%)
HSVhsv(59, 78%, 62%)
CMYKcmyk(0%, 1.3%, 77.8%, 38%)
CIE-LABlab(62.65, -13.21, 58.57)
CIE-LCHlch(62.65, 60.04, 102.71°)
OKLaboklab(67.35% -0.0429 0.1278)
OKLCHoklch(67.35% 0.135 108.5)
XYZxyz(26.2934, 31.1682, 6.2208)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9C23 #23259E
analogous
#9E5E23 #9E9C23 #639E23
triadic
#9E9C23 #239E9C #9C239E
tetradic
#9E9C23 #239E5E #23259E #9E2363
square
#9E9C23 #239E5E #23259E #9E2363
split-complementary
#9E9C23 #23639E #5E239E
monochromatic
#3A390D #6C6B18 #9E9C23 #D0CD2E #DCDA60

Accessibility & contrast

On white

2.90
#9E9C23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9E9C23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9C23
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9C23#FFFFFF#000000##000000
##9E9C231.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99501
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#AA9186
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9c23;
/* rgb */ color: rgb(158, 156, 35);
/* oklch */ color: oklch(67.3% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#beb869',
    500: '#9e9c23',
    950: '#000000',
  },
}
SCSS
$custom: #9e9c23;
$custom-light: #beb869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9c23",
  "rgb": {
    "r": 158,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 59.024,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67348,
    "c": 0.13479,
    "h": 108.5
  },
  "luminance": 0.31167
}

Semantic roles & 50–950 ramp

primary
#9E9C23
secondary
#5C5EC1
accent
#44E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9C23

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

Preview Lab → · Contrast checker → · Palette generator →

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