#8E9220#8E9220

#8E9220 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.130 H 111.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8E9220
RGBrgb(142, 146, 32)
HSLhsl(62, 64%, 35%)
HSVhsv(62, 78%, 57%)
CMYKcmyk(2.7%, 0%, 78.1%, 42.7%)
CIE-LABlab(58.43, -15.23, 55.20)
CIE-LCHlch(58.43, 57.26, 105.43°)
OKLaboklab(63.64% -0.0479 0.1207)
OKLCHoklch(63.64% 0.13 111.6)
XYZxyz(21.6957, 26.4134, 5.3216)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9220 #242092
analogous
#925D20 #8E9220 #559220
triadic
#8E9220 #208E92 #92208E
tetradic
#8E9220 #20925D #242092 #922055
square
#8E9220 #20925D #242092 #922055
split-complementary
#8E9220 #205592 #5D2092
monochromatic
#2C2E0A #5D6015 #8E9220 #BFC42B #D5D953

Accessibility & contrast

On white

3.34
#8E9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8E9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9220
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9220#FFFFFF#000000##000000
##8E92201.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B01
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#98897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e9220;
/* rgb */ color: rgb(142, 146, 32);
/* oklch */ color: oklch(63.6% 0.130 111.6);
Tailwind
colors: {
  custom: {
    50: '#b2b166',
    500: '#8e9220',
    950: '#000000',
  },
}
SCSS
$custom: #8e9220;
$custom-light: #b2b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9220",
  "rgb": {
    "r": 142,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 62.105,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63639,
    "c": 0.12983,
    "h": 111.6
  },
  "luminance": 0.26413
}

Semantic roles & 50–950 ramp

primary
#8E9220
secondary
#5551BD
accent
#41E747
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9220

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

Preview Lab → · Contrast checker → · Palette generator →

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