#8E9122#8E9122

#8E9122 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.4% C 0.128 H 111.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8E9122
RGBrgb(142, 145, 34)
HSLhsl(62, 62%, 35%)
HSVhsv(62, 77%, 57%)
CMYKcmyk(2.1%, 0%, 76.6%, 43.1%)
CIE-LABlab(58.15, -14.62, 54.28)
CIE-LCHlch(58.15, 56.22, 105.08°)
OKLaboklab(63.42% -0.046 0.1191)
OKLCHoklch(63.42% 0.128 111.1)
XYZxyz(21.5702, 26.1177, 5.4180)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9122 #252291
analogous
#915D22 #8E9122 #569122
triadic
#8E9122 #228E91 #91228E
tetradic
#8E9122 #22915D #252291 #912256
square
#8E9122 #22915D #252291 #912256
split-complementary
#8E9122 #225691 #5D2291
monochromatic
#2D2E0B #5D5F16 #8E9122 #BFC32E #D4D756

Accessibility & contrast

On white

3.37
#8E9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8E9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9122
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9122#FFFFFF#000000##000000
##8E91221.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A07
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#98887C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e9122;
/* rgb */ color: rgb(142, 145, 34);
/* oklch */ color: oklch(63.4% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#b2b167',
    500: '#8e9122',
    950: '#000000',
  },
}
SCSS
$custom: #8e9122;
$custom-light: #b2b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9122",
  "rgb": {
    "r": 142,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 61.622,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6342,
    "c": 0.12768,
    "h": 111.1
  },
  "luminance": 0.26117
}

Semantic roles & 50–950 ramp

primary
#8E9122
secondary
#5653BB
accent
#43E547
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9122

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

Preview Lab → · Contrast checker → · Palette generator →

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