#8E9923#8E9923

#8E9923 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.136 H 115.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8E9923
RGBrgb(142, 153, 35)
HSLhsl(66, 63%, 37%)
HSVhsv(66, 77%, 60%)
CMYKcmyk(7.2%, 0%, 77.1%, 40%)
CIE-LABlab(60.48, -18.74, 56.10)
CIE-LCHlch(60.48, 59.15, 108.47°)
OKLaboklab(65.29% -0.0573 0.1232)
OKLCHoklch(65.29% 0.136 115)
XYZxyz(22.8506, 28.6550, 5.9170)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9923 #2E2399
analogous
#996923 #8E9923 #539923
triadic
#8E9923 #238E99 #99238E
tetradic
#8E9923 #239969 #2E2399 #992353
square
#8E9923 #239969 #2E2399 #992353
split-complementary
#8E9923 #235399 #692399
monochromatic
#32350C #606718 #8E9923 #BCCB2E #CEDA5D

Accessibility & contrast

On white

3.12
#8E9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8E9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9923
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9923#FFFFFF#000000##000000
##8E99231.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49104
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#989083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e9923;
/* rgb */ color: rgb(142, 153, 35);
/* oklch */ color: oklch(65.3% 0.136 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b668',
    500: '#8e9923',
    950: '#000000',
  },
}
SCSS
$custom: #8e9923;
$custom-light: #b2b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9923",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 65.593,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65286,
    "c": 0.13584,
    "h": 115
  },
  "luminance": 0.28655
}

Semantic roles & 50–950 ramp

primary
#8E9923
secondary
#6359BE
accent
#42E651
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9923

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

Preview Lab → · Contrast checker → · Palette generator →

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