#8E8B2D#8E8B2D

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

Color values

HEX#8E8B2D
RGBrgb(142, 139, 45)
HSLhsl(58, 52%, 37%)
HSVhsv(58, 68%, 56%)
CMYKcmyk(0%, 2.1%, 68.3%, 44.3%)
CIE-LABlab(56.49, -10.86, 48.48)
CIE-LCHlch(56.49, 49.68, 102.62°)
OKLaboklab(62.12% -0.0344 0.1089)
OKLCHoklch(62.12% 0.114 107.5)
XYZxyz(20.8623, 24.4062, 6.0940)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B2D #2D308E
analogous
#8E5B2D #8E8B2D #618E2D
triadic
#8E8B2D #2D8E8B #8B2D8E
tetradic
#8E8B2D #2D8E5B #2D308E #8E2D61
square
#8E8B2D #2D8E5B #2D308E #8E2D61
split-complementary
#8E8B2D #2D618E #5B2D8E
monochromatic
#313010 #605E1E #8E8B2D #BCB83C #CFCC67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8B2D#FFFFFF#000000##000000
##8E8B2D1.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)
#978620
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#988278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8b2d;
/* rgb */ color: rgb(142, 139, 45);
/* oklch */ color: oklch(62.1% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#b2ac6c',
    500: '#8e8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b2d;
$custom-light: #b2ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b2d",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 58.144,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6212,
    "c": 0.11415,
    "h": 107.5
  },
  "luminance": 0.24405
}

Semantic roles & 50–950 ramp

primary
#8E8B2D
secondary
#6164B5
accent
#51DB4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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