#9E8124#9E8124

#9E8124 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.113 H 90.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9E8124
RGBrgb(158, 129, 36)
HSLhsl(46, 63%, 38%)
HSVhsv(46, 77%, 62%)
CMYKcmyk(0%, 18.4%, 77.2%, 38%)
CIE-LABlab(55.17, 1.47, 51.31)
CIE-LCHlch(55.17, 51.33, 88.36°)
OKLaboklab(61.42% -0.0013 0.1125)
OKLCHoklch(61.42% 0.113 90.7)
XYZxyz(22.2705, 23.0984, 4.9542)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8124 #24419E
analogous
#9E4424 #9E8124 #7E9E24
triadic
#9E8124 #249E81 #81249E
tetradic
#9E8124 #249E44 #24419E #9E247E
square
#9E8124 #249E44 #24419E #9E247E
split-complementary
#9E8124 #247E9E #44249E
monochromatic
#3A300D #6C5819 #9E8124 #D0AA2F #DBBE61

Accessibility & contrast

On white

3.74
#9E8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9E8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8124
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8124#FFFFFF#000000##000000
##9E81241.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#AB766F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9e8124;
/* rgb */ color: rgb(158, 129, 36);
/* oklch */ color: oklch(61.4% 0.113 90.7);
Tailwind
colors: {
  custom: {
    50: '#bfa566',
    500: '#9e8124',
    950: '#000000',
  },
}
SCSS
$custom: #9e8124;
$custom-light: #bfa566;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8124",
  "rgb": {
    "r": 158,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 45.738,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.11251,
    "h": 90.7
  },
  "luminance": 0.23097
}

Semantic roles & 50–950 ramp

primary
#9E8124
secondary
#5E75C0
accent
#69E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8124

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

Preview Lab → · Contrast checker → · Palette generator →

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