#8E9121#8E9121

#8E9121 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#8E9121
RGBrgb(142, 145, 33)
HSLhsl(62, 63%, 35%)
HSVhsv(62, 77%, 57%)
CMYKcmyk(2.1%, 0%, 77.2%, 43.1%)
CIE-LABlab(58.14, -14.67, 54.61)
CIE-LCHlch(58.14, 56.55, 105.03°)
OKLaboklab(63.41% -0.0462 0.1196)
OKLCHoklch(63.41% 0.128 111.1)
XYZxyz(21.5560, 26.1120, 5.3432)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9121 #242191
analogous
#915C21 #8E9121 #569121
triadic
#8E9121 #218E91 #91218E
tetradic
#8E9121 #21915C #242191 #912156
square
#8E9121 #21915C #242191 #912156
split-complementary
#8E9121 #215691 #5C2191
monochromatic
#2C2D0A #5D5F16 #8E9121 #BFC32C #D5D854

Accessibility & contrast

On white

3.38
#8E9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E9121#FFFFFF#000000##000000
##8E91211.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9121;
/* rgb */ color: rgb(142, 145, 33);
/* oklch */ color: oklch(63.4% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#b2b166',
    500: '#8e9121',
    950: '#000000',
  },
}
SCSS
$custom: #8e9121;
$custom-light: #b2b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9121",
  "rgb": {
    "r": 142,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 61.607,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63414,
    "c": 0.12823,
    "h": 111.1
  },
  "luminance": 0.26111
}

Semantic roles & 50–950 ramp

primary
#8E9121
secondary
#5552BC
accent
#42E646
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9121

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

Preview Lab → · Contrast checker → · Palette generator →

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