#8E9222#8E9222

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

Color values

HEX#8E9222
RGBrgb(142, 146, 34)
HSLhsl(62, 62%, 35%)
HSVhsv(62, 77%, 57%)
CMYKcmyk(2.7%, 0%, 76.7%, 42.7%)
CIE-LABlab(58.44, -15.15, 54.55)
CIE-LCHlch(58.44, 56.61, 105.52°)
OKLaboklab(63.65% -0.0475 0.1197)
OKLCHoklch(63.65% 0.129 111.6)
XYZxyz(21.7237, 26.4246, 5.4692)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9222 #262292
analogous
#925E22 #8E9222 #569222
triadic
#8E9222 #228E92 #92228E
tetradic
#8E9222 #22925E #262292 #922256
square
#8E9222 #22925E #262292 #922256
split-complementary
#8E9222 #225692 #5E2292
monochromatic
#2D2F0B #5E6016 #8E9222 #BEC42E #D3D857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E9222#FFFFFF#000000##000000
##8E92221.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)
#9E8B06
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#98897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e9222;
/* rgb */ color: rgb(142, 146, 34);
/* oklch */ color: oklch(63.7% 0.129 111.6);
Tailwind
colors: {
  custom: {
    50: '#b2b167',
    500: '#8e9222',
    950: '#000000',
  },
}
SCSS
$custom: #8e9222;
$custom-light: #b2b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9222",
  "rgb": {
    "r": 142,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 62.143,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.12874,
    "h": 111.6
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#8E9222
secondary
#5854BC
accent
#43E548
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9222

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

Preview Lab → · Contrast checker → · Palette generator →

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