#9E9223#9E9223

#9E9223 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.125 H 102.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9E9223
RGBrgb(158, 146, 35)
HSLhsl(54, 64%, 38%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 7.6%, 77.8%, 38%)
CIE-LABlab(59.84, -7.91, 56.02)
CIE-LCHlch(59.84, 56.57, 98.03°)
OKLaboklab(65.11% -0.028 0.1223)
OKLCHoklch(65.11% 0.125 102.9)
XYZxyz(24.6839, 27.9493, 5.6843)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9223 #232F9E
analogous
#9E5423 #9E9223 #6D9E23
triadic
#9E9223 #239E92 #92239E
tetradic
#9E9223 #239E54 #232F9E #9E236D
square
#9E9223 #239E54 #232F9E #9E236D
split-complementary
#9E9223 #236D9E #54239E
monochromatic
#3A350D #6C6418 #9E9223 #D0C02E #DCD060

Accessibility & contrast

On white

3.19
#9E9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9E9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9223
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9223#FFFFFF#000000##000000
##9E92231.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D08
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#AA877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e9223;
/* rgb */ color: rgb(158, 146, 35);
/* oklch */ color: oklch(65.1% 0.125 102.9);
Tailwind
colors: {
  custom: {
    50: '#beb168',
    500: '#9e9223',
    950: '#000000',
  },
}
SCSS
$custom: #9e9223;
$custom-light: #beb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9223",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 54.146,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65112,
    "c": 0.12549,
    "h": 102.9
  },
  "luminance": 0.27948
}

Semantic roles & 50–950 ramp

primary
#9E9223
secondary
#5C66C1
accent
#51E741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9223

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

Preview Lab → · Contrast checker → · Palette generator →

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