#808F28#808F28

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

Color values

HEX#808F28
RGBrgb(128, 143, 40)
HSLhsl(69, 56%, 36%)
HSVhsv(69, 72%, 56%)
CMYKcmyk(10.5%, 0%, 72%, 43.9%)
CIE-LABlab(56.47, -19.48, 50.10)
CIE-LCHlch(56.47, 53.76, 111.25°)
OKLaboklab(61.81% -0.0581 0.1118)
OKLCHoklch(61.81% 0.126 117.5)
XYZxyz(19.1080, 24.3875, 5.7077)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F28 #37288F
analogous
#8F6A28 #808F28 #4C8F28
triadic
#808F28 #28808F #8F2880
tetradic
#808F28 #288F6A #37288F #8F284C
square
#808F28 #288F6A #37288F #8F284C
split-complementary
#808F28 #284C8F #6A288F
monochromatic
#2A2F0D #555F1B #808F28 #ABBF35 #C2D25F

Accessibility & contrast

On white

3.57
#808F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#808F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F28
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F28#FFFFFF#000000##000000
##808F281.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998716
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#88877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f28;
/* rgb */ color: rgb(128, 143, 40);
/* oklch */ color: oklch(61.8% 0.126 117.5);
Tailwind
colors: {
  custom: {
    50: '#a8af69',
    500: '#808f28',
    950: '#000000',
  },
}
SCSS
$custom: #808f28;
$custom-light: #a8af69;
$custom-dark: #000000;
JSON
{
  "hex": "#808f28",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 68.738,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6181,
    "c": 0.12605,
    "h": 117.5
  },
  "luminance": 0.24387
}

Semantic roles & 50–950 ramp

primary
#808F28
secondary
#695BB8
accent
#48E05E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808F28

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

Preview Lab → · Contrast checker → · Palette generator →

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