#8E8A29#8E8A29

#8E8A29 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.116 H 107.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8E8A29
RGBrgb(142, 138, 41)
HSLhsl(58, 55%, 36%)
HSVhsv(58, 71%, 56%)
CMYKcmyk(0%, 2.8%, 71.1%, 44.3%)
CIE-LABlab(56.18, -10.55, 49.80)
CIE-LCHlch(56.18, 50.91, 101.96°)
OKLaboklab(61.86% -0.0339 0.1109)
OKLCHoklch(61.86% 0.116 107)
XYZxyz(20.6448, 24.0885, 5.6595)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A29 #292D8E
analogous
#8E5729 #8E8A29 #5F8E29
triadic
#8E8A29 #298E8A #8A298E
tetradic
#8E8A29 #298E57 #292D8E #8E295F
square
#8E8A29 #298E57 #292D8E #8E295F
split-complementary
#8E8A29 #295F8E #57298E
monochromatic
#2F2E0E #5F5C1B #8E8A29 #BDB837 #D1CD60

Accessibility & contrast

On white

3.61
#8E8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8E8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A29
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A29#FFFFFF#000000##000000
##8E8A291.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a29;
/* rgb */ color: rgb(142, 138, 41);
/* oklch */ color: oklch(61.9% 0.116 107.0);
Tailwind
colors: {
  custom: {
    50: '#b2ab69',
    500: '#8e8a29',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a29;
$custom-light: #b2ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a29",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 57.624,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61859,
    "c": 0.11601,
    "h": 107
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#8E8A29
secondary
#5C60B7
accent
#4FDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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