#9E8024#9E8024

#9E8024 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.2% C 0.112 H 89.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9E8024
RGBrgb(158, 128, 36)
HSLhsl(45, 63%, 38%)
HSVhsv(45, 77%, 62%)
CMYKcmyk(0%, 19%, 77.2%, 38%)
CIE-LABlab(54.90, 2.03, 51.06)
CIE-LCHlch(54.90, 51.10, 87.73°)
OKLaboklab(61.2% 0.0003 0.112)
OKLCHoklch(61.2% 0.112 89.9)
XYZxyz(22.1395, 22.8362, 4.9105)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8024 #24429E
analogous
#9E4324 #9E8024 #7F9E24
triadic
#9E8024 #249E80 #80249E
tetradic
#9E8024 #249E43 #24429E #9E247F
square
#9E8024 #249E43 #24429E #9E247F
split-complementary
#9E8024 #247F9E #43249E
monochromatic
#3A2F0D #6C5819 #9E8024 #D0A82F #DBBD61

Accessibility & contrast

On white

3.77
#9E8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9E8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8024
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8024#FFFFFF#000000##000000
##9E80241.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F14
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#AB756E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e8024;
/* rgb */ color: rgb(158, 128, 36);
/* oklch */ color: oklch(61.2% 0.112 89.9);
Tailwind
colors: {
  custom: {
    50: '#bfa466',
    500: '#9e8024',
    950: '#000000',
  },
}
SCSS
$custom: #9e8024;
$custom-light: #bfa466;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8024",
  "rgb": {
    "r": 158,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 45.246,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.11196,
    "h": 89.9
  },
  "luminance": 0.22835
}

Semantic roles & 50–950 ramp

primary
#9E8024
secondary
#5E76C0
accent
#6AE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8024

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

Preview Lab → · Contrast checker → · Palette generator →

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