#808E23#808E23

#808E23 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.5% C 0.128 H 116.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#808E23
RGBrgb(128, 142, 35)
HSLhsl(68, 60%, 35%)
HSVhsv(68, 75%, 56%)
CMYKcmyk(9.9%, 0%, 75.4%, 44.3%)
CIE-LABlab(56.14, -19.24, 51.65)
CIE-LCHlch(56.14, 55.11, 110.43°)
OKLaboklab(61.54% -0.0579 0.1142)
OKLCHoklch(61.54% 0.128 116.9)
XYZxyz(18.8789, 24.0568, 5.2387)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E23 #31238E
analogous
#8E6623 #808E23 #4B8E23
triadic
#808E23 #23808E #8E2380
tetradic
#808E23 #238E66 #31238E #8E234B
square
#808E23 #238E66 #31238E #8E234B
split-complementary
#808E23 #234B8E #66238E
monochromatic
#272C0B #545D17 #808E23 #ACBF2F #C5D556

Accessibility & contrast

On white

3.61
#808E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#808E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E23
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E23#FFFFFF#000000##000000
##808E231.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860C
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#88867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e23;
/* rgb */ color: rgb(128, 142, 35);
/* oklch */ color: oklch(61.5% 0.128 116.9);
Tailwind
colors: {
  custom: {
    50: '#a8af66',
    500: '#808e23',
    950: '#000000',
  },
}
SCSS
$custom: #808e23;
$custom-light: #a8af66;
$custom-dark: #000000;
JSON
{
  "hex": "#808e23",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 67.85,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.12806,
    "h": 116.9
  },
  "luminance": 0.24057
}

Semantic roles & 50–950 ramp

primary
#808E23
secondary
#6153B9
accent
#44E459
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E23

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

Preview Lab → · Contrast checker → · Palette generator →

#808E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva