#8E8B2C#8E8B2C

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

Color values

HEX#8E8B2C
RGBrgb(142, 139, 44)
HSLhsl(58, 53%, 36%)
HSVhsv(58, 69%, 56%)
CMYKcmyk(0%, 2.1%, 69%, 44.3%)
CIE-LABlab(56.48, -10.92, 48.89)
CIE-LCHlch(56.48, 50.10, 102.59°)
OKLaboklab(62.11% -0.0346 0.1096)
OKLCHoklch(62.11% 0.115 107.5)
XYZxyz(20.8433, 24.3985, 5.9938)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B2C #2C2F8E
analogous
#8E5A2C #8E8B2C #608E2C
triadic
#8E8B2C #2C8E8B #8B2C8E
tetradic
#8E8B2C #2C8E5A #2C2F8E #8E2C60
square
#8E8B2C #2C8E5A #2C2F8E #8E2C60
split-complementary
#8E8B2C #2C608E #5A2C8E
monochromatic
#31300F #5F5D1E #8E8B2C #BDB93A #CFCC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8B2C#FFFFFF#000000##000000
##8E8B2C1.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)
#97861E
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#988278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8b2c;
/* rgb */ color: rgb(142, 139, 44);
/* oklch */ color: oklch(62.1% 0.115 107.5);
Tailwind
colors: {
  custom: {
    50: '#b2ac6b',
    500: '#8e8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b2c;
$custom-light: #b2ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b2c",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 58.163,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62111,
    "c": 0.11489,
    "h": 107.5
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#8E8B2C
secondary
#6063B6
accent
#50DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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