#8E8025#8E8025

#8E8025 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.109 H 100.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8E8025
RGBrgb(142, 128, 37)
HSLhsl(52, 59%, 35%)
HSVhsv(52, 74%, 56%)
CMYKcmyk(0%, 9.9%, 73.9%, 44.3%)
CIE-LABlab(53.30, -5.29, 48.57)
CIE-LCHlch(53.30, 48.86, 96.22°)
OKLaboklab(59.56% -0.0195 0.1076)
OKLCHoklch(59.56% 0.109 100.3)
XYZxyz(19.2093, 21.3236, 4.8539)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8025 #25338E
analogous
#8E4B25 #8E8025 #678E25
triadic
#8E8025 #258E80 #80258E
tetradic
#8E8025 #258E4B #25338E #8E2567
square
#8E8025 #258E4B #25338E #8E2567
split-complementary
#8E8025 #25678E #4B258E
monochromatic
#2D280C #5D5418 #8E8025 #BFAC32 #D4C45A

Accessibility & contrast

On white

3.99
#8E8025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8E8025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8025
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8025#FFFFFF#000000##000000
##8E80251.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C16
Deuteranopia (green-blind)
#90822B
Tritanopia (blue-blind)
#99766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e8025;
/* rgb */ color: rgb(142, 128, 37);
/* oklch */ color: oklch(59.6% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#b2a466',
    500: '#8e8025',
    950: '#000000',
  },
}
SCSS
$custom: #8e8025;
$custom-light: #b2a466;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8025",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 52,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59564,
    "c": 0.10933,
    "h": 100.3
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#8E8025
secondary
#5663B9
accent
#5BE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8025

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

Preview Lab → · Contrast checker → · Palette generator →

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