#8E8B22#8E8B22

#8E8B22 is a light, vivid yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.121 H 107.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8E8B22
RGBrgb(142, 139, 34)
HSLhsl(58, 61%, 35%)
HSVhsv(58, 76%, 56%)
CMYKcmyk(0%, 2.1%, 76.1%, 44.3%)
CIE-LABlab(56.42, -11.43, 52.67)
CIE-LCHlch(56.42, 53.90, 102.25°)
OKLaboklab(62.04% -0.0371 0.1157)
OKLCHoklch(62.04% 0.121 107.8)
XYZxyz(20.6775, 24.3322, 5.1204)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B22 #22258E
analogous
#8E5522 #8E8B22 #5B8E22
triadic
#8E8B22 #228E8B #8B228E
tetradic
#8E8B22 #228E55 #22258E #8E225B
square
#8E8B22 #228E55 #22258E #8E225B
split-complementary
#8E8B22 #225B8E #55228E
monochromatic
#2B2A0A #5D5B16 #8E8B22 #BFBB2E #D6D354

Accessibility & contrast

On white

3.58
#8E8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8E8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8B22
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8B22#FFFFFF#000000##000000
##8E8B221.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850B
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#998277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8b22;
/* rgb */ color: rgb(142, 139, 34);
/* oklch */ color: oklch(62.0% 0.121 107.8);
Tailwind
colors: {
  custom: {
    50: '#b2ac66',
    500: '#8e8b22',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b22;
$custom-light: #b2ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b22",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 58.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62038,
    "c": 0.12149,
    "h": 107.8
  },
  "luminance": 0.24332
}

Semantic roles & 50–950 ramp

primary
#8E8B22
secondary
#5255BA
accent
#48E443
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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