#8E9523#8E9523

#8E9523 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.131 H 113.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8E9523
RGBrgb(142, 149, 35)
HSLhsl(64, 62%, 36%)
HSVhsv(64, 77%, 58%)
CMYKcmyk(4.7%, 0%, 76.5%, 41.6%)
CIE-LABlab(59.31, -16.67, 55.02)
CIE-LCHlch(59.31, 57.49, 106.86°)
OKLaboklab(64.35% -0.0516 0.1209)
OKLCHoklch(64.35% 0.131 113.1)
XYZxyz(22.2069, 27.3675, 5.7024)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9523 #2A2395
analogous
#956323 #8E9523 #559523
triadic
#8E9523 #238E95 #95238E
tetradic
#8E9523 #239563 #2A2395 #952355
square
#8E9523 #239563 #2A2395 #952355
split-complementary
#8E9523 #235595 #632395
monochromatic
#30320C #5F6317 #8E9523 #BDC72F #D1D85A

Accessibility & contrast

On white

3.24
#8E9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8E9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9523
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9523#FFFFFF#000000##000000
##8E95231.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E07
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#988C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9523;
/* rgb */ color: rgb(142, 149, 35);
/* oklch */ color: oklch(64.4% 0.131 113.1);
Tailwind
colors: {
  custom: {
    50: '#b2b468',
    500: '#8e9523',
    950: '#000000',
  },
}
SCSS
$custom: #8e9523;
$custom-light: #b2b468;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9523",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 63.684,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64354,
    "c": 0.13142,
    "h": 113.1
  },
  "luminance": 0.27367
}

Semantic roles & 50–950 ramp

primary
#8E9523
secondary
#5D57BD
accent
#43E54D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9523

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

Preview Lab → · Contrast checker → · Palette generator →

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