#808F24#808F24

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

Color values

HEX#808F24
RGBrgb(128, 143, 36)
HSLhsl(68, 60%, 35%)
HSVhsv(68, 75%, 56%)
CMYKcmyk(10.5%, 0%, 74.8%, 43.9%)
CIE-LABlab(56.45, -19.70, 51.58)
CIE-LCHlch(56.45, 55.21, 110.91°)
OKLaboklab(61.78% -0.0591 0.1142)
OKLCHoklch(61.78% 0.129 117.4)
XYZxyz(19.0434, 24.3617, 5.3678)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F24 #33248F
analogous
#8F6824 #808F24 #4B8F24
triadic
#808F24 #24808F #8F2480
tetradic
#808F24 #248F68 #33248F #8F244B
square
#808F24 #248F68 #33248F #8F244B
split-complementary
#808F24 #244B8F #68248F
monochromatic
#282D0B #545E18 #808F24 #ACC030 #C4D558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F24#FFFFFF#000000##000000
##808F241.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)
#99870E
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#88877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f24;
/* rgb */ color: rgb(128, 143, 36);
/* oklch */ color: oklch(61.8% 0.129 117.4);
Tailwind
colors: {
  custom: {
    50: '#a8af67',
    500: '#808f24',
    950: '#000000',
  },
}
SCSS
$custom: #808f24;
$custom-light: #a8af67;
$custom-dark: #000000;
JSON
{
  "hex": "#808f24",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 68.411,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.12864,
    "h": 117.4
  },
  "luminance": 0.24361
}

Semantic roles & 50–950 ramp

primary
#808F24
secondary
#6355B9
accent
#45E35B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F24

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

Preview Lab → · Contrast checker → · Palette generator →

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