#808F23#808F23

#808F23 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.129 H 117.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#808F23
RGBrgb(128, 143, 35)
HSLhsl(68, 61%, 35%)
HSVhsv(68, 76%, 56%)
CMYKcmyk(10.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(56.44, -19.75, 51.93)
CIE-LCHlch(56.44, 55.56, 110.82°)
OKLaboklab(61.77% -0.0594 0.1148)
OKLCHoklch(61.77% 0.129 117.3)
XYZxyz(19.0284, 24.3557, 5.2885)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F23 #32238F
analogous
#8F6823 #808F23 #4A8F23
triadic
#808F23 #23808F #8F2380
tetradic
#808F23 #238F68 #32238F #8F234A
square
#808F23 #238F68 #32238F #8F234A
split-complementary
#808F23 #234A8F #68238F
monochromatic
#282D0B #545E17 #808F23 #ACC02F #C4D657

Accessibility & contrast

On white

3.58
#808F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#808F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F23
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F23#FFFFFF#000000##000000
##808F231.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#88877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f23;
/* rgb */ color: rgb(128, 143, 35);
/* oklch */ color: oklch(61.8% 0.129 117.3);
Tailwind
colors: {
  custom: {
    50: '#a8af67',
    500: '#808f23',
    950: '#000000',
  },
}
SCSS
$custom: #808f23;
$custom-light: #a8af67;
$custom-dark: #000000;
JSON
{
  "hex": "#808f23",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 68.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.12924,
    "h": 117.3
  },
  "luminance": 0.24355
}

Semantic roles & 50–950 ramp

primary
#808F23
secondary
#6254BA
accent
#44E45A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F23

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

Preview Lab → · Contrast checker → · Palette generator →

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