#8E8A2E#8E8A2E

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

Color values

HEX#8E8A2E
RGBrgb(142, 138, 46)
HSLhsl(58, 51%, 37%)
HSVhsv(58, 68%, 56%)
CMYKcmyk(0%, 2.8%, 67.6%, 44.3%)
CIE-LABlab(56.21, -10.26, 47.78)
CIE-LCHlch(56.21, 48.86, 102.12°)
OKLaboklab(61.9% -0.0325 0.1075)
OKLCHoklch(61.9% 0.112 106.8)
XYZxyz(20.7377, 24.1257, 6.1486)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A2E #2E328E
analogous
#8E5A2E #8E8A2E #628E2E
triadic
#8E8A2E #2E8E8A #8A2E8E
tetradic
#8E8A2E #2E8E5A #2E328E #8E2E62
square
#8E8A2E #2E8E5A #2E328E #8E2E62
split-complementary
#8E8A2E #2E628E #5A2E8E
monochromatic
#323010 #605D1F #8E8A2E #BCB73D #CECA68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8A2E#FFFFFF#000000##000000
##8E8A2E1.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#988834
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a2e;
/* rgb */ color: rgb(142, 138, 46);
/* oklch */ color: oklch(61.9% 0.112 106.8);
Tailwind
colors: {
  custom: {
    50: '#b2ab6c',
    500: '#8e8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a2e;
$custom-light: #b2ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a2e",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 57.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.619,
    "c": 0.11236,
    "h": 106.8
  },
  "luminance": 0.24125
}

Semantic roles & 50–950 ramp

primary
#8E8A2E
secondary
#6366B5
accent
#53DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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