#8E8A2C#8E8A2C

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

Color values

HEX#8E8A2C
RGBrgb(142, 138, 44)
HSLhsl(58, 53%, 36%)
HSVhsv(58, 69%, 56%)
CMYKcmyk(0%, 2.8%, 69%, 44.3%)
CIE-LABlab(56.20, -10.38, 48.60)
CIE-LCHlch(56.20, 49.70, 102.05°)
OKLaboklab(61.88% -0.0331 0.1089)
OKLCHoklch(61.88% 0.114 106.9)
XYZxyz(20.6992, 24.1103, 5.9458)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A2C #2C308E
analogous
#8E592C #8E8A2C #618E2C
triadic
#8E8A2C #2C8E8A #8A2C8E
tetradic
#8E8A2C #2C8E59 #2C308E #8E2C61
square
#8E8A2C #2C8E59 #2C308E #8E2C61
split-complementary
#8E8A2C #2C618E #592C8E
monochromatic
#312F0F #5F5D1E #8E8A2C #BDB73A #CFCB65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8A2C#FFFFFF#000000##000000
##8E8A2C1.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)
#96851E
Deuteranopia (green-blind)
#988832
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a2c;
/* rgb */ color: rgb(142, 138, 44);
/* oklch */ color: oklch(61.9% 0.114 106.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab6b',
    500: '#8e8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a2c;
$custom-light: #b2ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a2c",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 57.551,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.11386,
    "h": 106.9
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#8E8A2C
secondary
#6064B6
accent
#52DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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