#8B8E22#8B8E22

#8B8E22 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.125 H 111.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8B8E22
RGBrgb(139, 142, 34)
HSLhsl(62, 61%, 35%)
HSVhsv(62, 76%, 56%)
CMYKcmyk(2.1%, 0%, 76.1%, 44.3%)
CIE-LABlab(57.03, -14.39, 53.15)
CIE-LCHlch(57.03, 55.06, 105.15°)
OKLaboklab(62.46% -0.0452 0.1168)
OKLCHoklch(62.46% 0.125 111.1)
XYZxyz(20.6099, 24.9510, 5.2434)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E22 #25228E
analogous
#8E5B22 #8B8E22 #558E22
triadic
#8B8E22 #228B8E #8E228B
tetradic
#8B8E22 #228E5B #25228E #8E2255
square
#8B8E22 #228E5B #25228E #8E2255
split-complementary
#8B8E22 #22558E #5B228E
monochromatic
#2A2B0A #5B5D16 #8B8E22 #BBBF2E #D3D654

Accessibility & contrast

On white

3.51
#8B8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8B8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E22
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E22#FFFFFF#000000##000000
##8B8E221.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998709
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#95857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e22;
/* rgb */ color: rgb(139, 142, 34);
/* oklch */ color: oklch(62.5% 0.125 111.1);
Tailwind
colors: {
  custom: {
    50: '#b0ae66',
    500: '#8b8e22',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e22;
$custom-light: #b0ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e22",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 61.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.12525,
    "h": 111.1
  },
  "luminance": 0.2495
}

Semantic roles & 50–950 ramp

primary
#8B8E22
secondary
#5552BA
accent
#43E448
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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