#8E8D23#8E8D23

#8E8D23 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.123 H 108.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8E8D23
RGBrgb(142, 141, 35)
HSLhsl(59, 60%, 35%)
HSVhsv(59, 75%, 56%)
CMYKcmyk(0%, 0.7%, 75.4%, 44.3%)
CIE-LABlab(57.00, -12.46, 52.86)
CIE-LCHlch(57.00, 54.31, 103.26°)
OKLaboklab(62.5% -0.0399 0.1163)
OKLCHoklch(62.5% 0.123 108.9)
XYZxyz(20.9844, 24.9225, 5.2949)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D23 #23248E
analogous
#8E5723 #8E8D23 #5A8E23
triadic
#8E8D23 #238E8D #8D238E
tetradic
#8E8D23 #238E57 #23248E #8E235A
square
#8E8D23 #238E57 #23248E #8E235A
split-complementary
#8E8D23 #235A8E #57238E
monochromatic
#2C2B0B #5D5C17 #8E8D23 #BFBE2F #D5D456

Accessibility & contrast

On white

3.51
#8E8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8E8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D23
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D23#FFFFFF#000000##000000
##8E8D231.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#988479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d23;
/* rgb */ color: rgb(142, 141, 35);
/* oklch */ color: oklch(62.5% 0.123 108.9);
Tailwind
colors: {
  custom: {
    50: '#b2ae67',
    500: '#8e8d23',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d23;
$custom-light: #b2ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d23",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 59.439,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62503,
    "c": 0.12293,
    "h": 108.9
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#8E8D23
secondary
#5354B9
accent
#46E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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