#8E9D2C#8E9D2C

#8E9D2C is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.3% C 0.135 H 116.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8E9D2C
RGBrgb(142, 157, 44)
HSLhsl(68, 56%, 39%)
HSVhsv(68, 72%, 62%)
CMYKcmyk(9.6%, 0%, 72%, 38.4%)
CIE-LABlab(61.69, -20.33, 54.08)
CIE-LCHlch(61.69, 57.78, 110.60°)
OKLaboklab(66.28% -0.0609 0.1205)
OKLCHoklch(66.28% 0.135 116.8)
XYZxyz(23.6675, 30.0469, 6.9352)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9D2C #3B2C9D
analogous
#9D742C #8E9D2C #559D2C
triadic
#8E9D2C #2C8E9D #9D2C8E
tetradic
#8E9D2C #2C9D74 #3B2C9D #9D2C55
square
#8E9D2C #2C9D74 #3B2C9D #9D2C55
split-complementary
#8E9D2C #2C559D #742C9D
monochromatic
#383D11 #636D1F #8E9D2C #B6C93D #C8D66D

Accessibility & contrast

On white

3.00
#8E9D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8E9D2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9D2C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9D2C#FFFFFF#000000##000000
##8E9D2C1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89518
Deuteranopia (green-blind)
#A69635
Tritanopia (blue-blind)
#979487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e9d2c;
/* rgb */ color: rgb(142, 157, 44);
/* oklch */ color: oklch(66.3% 0.135 116.8);
Tailwind
colors: {
  custom: {
    50: '#b2b96d',
    500: '#8e9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #8e9d2c;
$custom-light: #b2b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9d2c",
  "rgb": {
    "r": 142,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 67.965,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66281,
    "c": 0.13502,
    "h": 116.8
  },
  "luminance": 0.30047
}

Semantic roles & 50–950 ramp

primary
#8E9D2C
secondary
#7368BD
accent
#48E05C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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