#9E9323#9E9323

#9E9323 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.126 H 103.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9E9323
RGBrgb(158, 147, 35)
HSLhsl(55, 64%, 38%)
HSVhsv(55, 78%, 62%)
CMYKcmyk(0%, 7%, 77.8%, 38%)
CIE-LABlab(60.12, -8.44, 56.27)
CIE-LCHlch(60.12, 56.90, 98.53°)
OKLaboklab(65.33% -0.0295 0.1229)
OKLCHoklch(65.33% 0.126 103.5)
XYZxyz(24.8388, 28.2589, 5.7359)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9323 #232E9E
analogous
#9E5523 #9E9323 #6B9E23
triadic
#9E9323 #239E93 #93239E
tetradic
#9E9323 #239E55 #232E9E #9E236B
square
#9E9323 #239E55 #232E9E #9E236B
split-complementary
#9E9323 #236B9E #55239E
monochromatic
#3A360D #6C6418 #9E9323 #D0C22E #DCD160

Accessibility & contrast

On white

3.16
#9E9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9E9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9323
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9323#FFFFFF#000000##000000
##9E93231.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E08
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#AA887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9323;
/* rgb */ color: rgb(158, 147, 35);
/* oklch */ color: oklch(65.3% 0.126 103.5);
Tailwind
colors: {
  custom: {
    50: '#beb268',
    500: '#9e9323',
    950: '#000000',
  },
}
SCSS
$custom: #9e9323;
$custom-light: #beb268;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9323",
  "rgb": {
    "r": 158,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 54.634,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65334,
    "c": 0.12637,
    "h": 103.5
  },
  "luminance": 0.28258
}

Semantic roles & 50–950 ramp

primary
#9E9323
secondary
#5C65C1
accent
#50E741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9323

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

Preview Lab → · Contrast checker → · Palette generator →

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