#8E8124#8E8124

#8E8124 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.111 H 101.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8E8124
RGBrgb(142, 129, 36)
HSLhsl(53, 60%, 35%)
HSVhsv(53, 75%, 56%)
CMYKcmyk(0%, 9.2%, 74.6%, 44.3%)
CIE-LABlab(53.58, -5.89, 49.23)
CIE-LCHlch(53.58, 49.58, 96.83°)
OKLaboklab(59.78% -0.0213 0.1088)
OKLCHoklch(59.78% 0.111 101.1)
XYZxyz(19.3249, 21.5796, 4.8161)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8124 #24318E
analogous
#8E4C24 #8E8124 #668E24
triadic
#8E8124 #248E81 #81248E
tetradic
#8E8124 #248E4C #24318E #8E2466
square
#8E8124 #248E4C #24318E #8E2466
split-complementary
#8E8124 #24668E #4C248E
monochromatic
#2C280B #5D5518 #8E8124 #BFAD30 #D5C558

Accessibility & contrast

On white

3.95
#8E8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8E8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8124
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8124#FFFFFF#000000##000000
##8E81241.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D14
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#99776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e8124;
/* rgb */ color: rgb(142, 129, 36);
/* oklch */ color: oklch(59.8% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#b2a566',
    500: '#8e8124',
    950: '#000000',
  },
}
SCSS
$custom: #8e8124;
$custom-light: #b2a566;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8124",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 52.642,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59781,
    "c": 0.11085,
    "h": 101.1
  },
  "luminance": 0.21579
}

Semantic roles & 50–950 ramp

primary
#8E8124
secondary
#5561B9
accent
#58E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8124

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

Preview Lab → · Contrast checker → · Palette generator →

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