#8E8D2E#8E8D2E

#8E8D2E is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.116 H 108.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8E8D2E
RGBrgb(142, 141, 46)
HSLhsl(59, 51%, 37%)
HSVhsv(59, 68%, 56%)
CMYKcmyk(0%, 0.7%, 67.6%, 44.3%)
CIE-LABlab(57.07, -11.87, 48.66)
CIE-LCHlch(57.07, 50.09, 103.71°)
OKLaboklab(62.59% -0.0371 0.1094)
OKLCHoklch(62.59% 0.116 108.7)
XYZxyz(21.1741, 24.9984, 6.2940)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D2E #2E2F8E
analogous
#8E5D2E #8E8D2E #5F8E2E
triadic
#8E8D2E #2E8E8D #8D2E8E
tetradic
#8E8D2E #2E8E5D #2E2F8E #8E2E5F
square
#8E8D2E #2E8E5D #2E2F8E #8E2E5F
split-complementary
#8E8D2E #2E5F8E #5D2E8E
monochromatic
#323110 #605F1F #8E8D2E #BCBB3D #CECD68

Accessibility & contrast

On white

3.50
#8E8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8E8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D2E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D2E#FFFFFF#000000##000000
##8E8D2E1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#98847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d2e;
/* rgb */ color: rgb(142, 141, 46);
/* oklch */ color: oklch(62.6% 0.116 108.7);
Tailwind
colors: {
  custom: {
    50: '#b2ae6c',
    500: '#8e8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d2e;
$custom-light: #b2ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d2e",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 59.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.11552,
    "h": 108.7
  },
  "luminance": 0.24998
}

Semantic roles & 50–950 ramp

primary
#8E8D2E
secondary
#6364B5
accent
#4FDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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