#8E8B2E#8E8B2E

#8E8B2E is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.1% C 0.113 H 107.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8E8B2E
RGBrgb(142, 139, 46)
HSLhsl(58, 51%, 37%)
HSVhsv(58, 68%, 56%)
CMYKcmyk(0%, 2.1%, 67.6%, 44.3%)
CIE-LABlab(56.50, -10.80, 48.07)
CIE-LCHlch(56.50, 49.27, 102.66°)
OKLaboklab(62.13% -0.0341 0.1082)
OKLCHoklch(62.13% 0.113 107.5)
XYZxyz(20.8818, 24.4139, 6.1966)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B2E #2E318E
analogous
#8E5B2E #8E8B2E #618E2E
triadic
#8E8B2E #2E8E8B #8B2E8E
tetradic
#8E8B2E #2E8E5B #2E318E #8E2E61
square
#8E8B2E #2E8E5B #2E318E #8E2E61
split-complementary
#8E8B2E #2E618E #5B2E8E
monochromatic
#323110 #605E1F #8E8B2E #BCB83D #CECB68

Accessibility & contrast

On white

3.57
#8E8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8E8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8B2E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8B2E#FFFFFF#000000##000000
##8E8B2E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#988278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8b2e;
/* rgb */ color: rgb(142, 139, 46);
/* oklch */ color: oklch(62.1% 0.113 107.5);
Tailwind
colors: {
  custom: {
    50: '#b2ac6c',
    500: '#8e8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b2e;
$custom-light: #b2ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b2e",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 58.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62128,
    "c": 0.1134,
    "h": 107.5
  },
  "luminance": 0.24413
}

Semantic roles & 50–950 ramp

primary
#8E8B2E
secondary
#6365B5
accent
#52DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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