#9E9224#9E9224

#9E9224 is a light, vivid yellow. Relative luminance 0.280; 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#9E9224
RGBrgb(158, 146, 36)
HSLhsl(54, 63%, 38%)
HSVhsv(54, 77%, 62%)
CMYKcmyk(0%, 7.6%, 77.2%, 38%)
CIE-LABlab(59.85, -7.86, 55.68)
CIE-LCHlch(59.85, 56.23, 98.04°)
OKLaboklab(65.12% -0.0278 0.1218)
OKLCHoklch(65.12% 0.125 102.9)
XYZxyz(24.6990, 27.9553, 5.7636)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9224 #24309E
analogous
#9E5524 #9E9224 #6D9E24
triadic
#9E9224 #249E92 #92249E
tetradic
#9E9224 #249E55 #24309E #9E246D
square
#9E9224 #249E55 #24309E #9E246D
split-complementary
#9E9224 #246D9E #55249E
monochromatic
#3A360D #6C6419 #9E9224 #D0C02F #DBCF61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9224#FFFFFF#000000##000000
##9E92241.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)
#A08D0B
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#AA877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e9224;
/* rgb */ color: rgb(158, 146, 36);
/* oklch */ color: oklch(65.1% 0.125 102.9);
Tailwind
colors: {
  custom: {
    50: '#beb168',
    500: '#9e9224',
    950: '#000000',
  },
}
SCSS
$custom: #9e9224;
$custom-light: #beb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9224",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 54.098,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65118,
    "c": 0.12494,
    "h": 102.9
  },
  "luminance": 0.27954
}

Semantic roles & 50–950 ramp

primary
#9E9224
secondary
#5E67C0
accent
#52E642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9224

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

Preview Lab → · Contrast checker → · Palette generator →

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