#8E8A33#8E8A33

#8E8A33 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.108 H 106.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8E8A33
RGBrgb(142, 138, 51)
HSLhsl(57, 47%, 38%)
HSVhsv(57, 64%, 56%)
CMYKcmyk(0%, 2.8%, 64.1%, 44.3%)
CIE-LABlab(56.26, -9.93, 45.63)
CIE-LCHlch(56.26, 46.69, 102.28°)
OKLaboklab(61.95% -0.0311 0.1038)
OKLCHoklch(61.95% 0.108 106.7)
XYZxyz(20.8421, 24.1674, 6.6982)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A33 #33378E
analogous
#8E5D33 #8E8A33 #648E33
triadic
#8E8A33 #338E8A #8A338E
tetradic
#8E8A33 #338E5D #33378E #8E3364
square
#8E8A33 #338E5D #33378E #8E3364
split-complementary
#8E8A33 #33648E #5D338E
monochromatic
#343213 #615E23 #8E8A33 #BBB643 #CCC870

Accessibility & contrast

On white

3.60
#8E8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8E8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A33
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A33#FFFFFF#000000##000000
##8E8A331.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958528
Deuteranopia (green-blind)
#978938
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a33;
/* rgb */ color: rgb(142, 138, 51);
/* oklch */ color: oklch(61.9% 0.108 106.7);
Tailwind
colors: {
  custom: {
    50: '#b2ab6f',
    500: '#8e8a33',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a33;
$custom-light: #b2ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a33",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 57.363,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.10836,
    "h": 106.7
  },
  "luminance": 0.24167
}

Semantic roles & 50–950 ramp

primary
#8E8A33
secondary
#696DB4
accent
#57D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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