#8E8028#8E8028

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

Color values

HEX#8E8028
RGBrgb(142, 128, 40)
HSLhsl(52, 56%, 36%)
HSVhsv(52, 72%, 56%)
CMYKcmyk(0%, 9.9%, 71.8%, 44.3%)
CIE-LABlab(53.32, -5.13, 47.37)
CIE-LCHlch(53.32, 47.65, 96.18°)
OKLaboklab(59.59% -0.0187 0.1056)
OKLCHoklch(59.59% 0.107 100.1)
XYZxyz(19.2584, 21.3432, 5.1123)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8028 #28368E
analogous
#8E4D28 #8E8028 #698E28
triadic
#8E8028 #288E80 #80288E
tetradic
#8E8028 #288E4D #28368E #8E2869
square
#8E8028 #288E4D #28368E #8E2869
split-complementary
#8E8028 #28698E #4D288E
monochromatic
#2F2A0D #5E551B #8E8028 #BEAB35 #D2C25F

Accessibility & contrast

On white

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

On black

5.27
#8E8028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8028
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8028#FFFFFF#000000##000000
##8E80281.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1B
Deuteranopia (green-blind)
#90822D
Tritanopia (blue-blind)
#99776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e8028;
/* rgb */ color: rgb(142, 128, 40);
/* oklch */ color: oklch(59.6% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#b2a468',
    500: '#8e8028',
    950: '#000000',
  },
}
SCSS
$custom: #8e8028;
$custom-light: #b2a468;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8028",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 51.765,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.10727,
    "h": 100.1
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#8E8028
secondary
#5B67B7
accent
#5DDF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8028

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

Preview Lab → · Contrast checker → · Palette generator →

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