#8E9E28#8E9E28

#8E9E28 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.139 H 117.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8E9E28
RGBrgb(142, 158, 40)
HSLhsl(68, 60%, 39%)
HSVhsv(68, 75%, 62%)
CMYKcmyk(10.1%, 0%, 74.7%, 38%)
CIE-LABlab(61.96, -21.04, 55.79)
CIE-LCHlch(61.96, 59.63, 110.67°)
OKLaboklab(66.49% -0.0633 0.1234)
OKLCHoklch(66.49% 0.139 117.2)
XYZxyz(23.7658, 30.3580, 6.6148)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E28 #38289E
analogous
#9E7328 #8E9E28 #539E28
triadic
#8E9E28 #288E9E #9E288E
tetradic
#8E9E28 #289E73 #38289E #9E2853
square
#8E9E28 #289E73 #38289E #9E2853
split-complementary
#8E9E28 #28539E #73289E
monochromatic
#363C0F #626D1C #8E9E28 #B8CC37 #C9D968

Accessibility & contrast

On white

2.97
#8E9E28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8E9E28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E28
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E28#FFFFFF#000000##000000
##8E9E281.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950F
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#979587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9e28;
/* rgb */ color: rgb(142, 158, 40);
/* oklch */ color: oklch(66.5% 0.139 117.2);
Tailwind
colors: {
  custom: {
    50: '#b2ba6b',
    500: '#8e9e28',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e28;
$custom-light: #b2ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e28",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 68.136,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.13868,
    "h": 117.2
  },
  "luminance": 0.30358
}

Semantic roles & 50–950 ramp

primary
#8E9E28
secondary
#6F63BF
accent
#45E35A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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