#9E9623#9E9623

#9E9623 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.129 H 105.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E9623
RGBrgb(158, 150, 35)
HSLhsl(56, 64%, 38%)
HSVhsv(56, 78%, 62%)
CMYKcmyk(0%, 5.1%, 77.8%, 38%)
CIE-LABlab(60.96, -10.05, 57.04)
CIE-LCHlch(60.96, 57.92, 99.99°)
OKLaboklab(66% -0.034 0.1245)
OKLCHoklch(66% 0.129 105.3)
XYZxyz(25.3114, 29.2041, 5.8935)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9623 #232B9E
analogous
#9E5923 #9E9623 #689E23
triadic
#9E9623 #239E96 #96239E
tetradic
#9E9623 #239E59 #232B9E #9E2368
square
#9E9623 #239E59 #232B9E #9E2368
split-complementary
#9E9623 #23689E #59239E
monochromatic
#3A370D #6C6618 #9E9623 #D0C62E #DCD460

Accessibility & contrast

On white

3.07
#9E9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9E9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9623
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9623#FFFFFF#000000##000000
##9E96231.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49006
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#AA8B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9623;
/* rgb */ color: rgb(158, 150, 35);
/* oklch */ color: oklch(66.0% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#beb468',
    500: '#9e9623',
    950: '#000000',
  },
}
SCSS
$custom: #9e9623;
$custom-light: #beb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9623",
  "rgb": {
    "r": 158,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 56.098,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66002,
    "c": 0.12907,
    "h": 105.3
  },
  "luminance": 0.29203
}

Semantic roles & 50–950 ramp

primary
#9E9623
secondary
#5C63C1
accent
#4CE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9623

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

Preview Lab → · Contrast checker → · Palette generator →

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