#808F22#808F22

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

Color values

HEX#808F22
RGBrgb(128, 143, 34)
HSLhsl(68, 62%, 35%)
HSVhsv(68, 76%, 56%)
CMYKcmyk(10.5%, 0%, 76.2%, 43.9%)
CIE-LABlab(56.44, -19.80, 52.27)
CIE-LCHlch(56.44, 55.90, 110.75°)
OKLaboklab(61.77% -0.0596 0.1154)
OKLCHoklch(61.77% 0.13 117.3)
XYZxyz(19.0137, 24.3498, 5.2114)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F22 #31228F
analogous
#8F6822 #808F22 #4A8F22
triadic
#808F22 #22808F #8F2280
tetradic
#808F22 #228F68 #31228F #8F224A
square
#808F22 #228F68 #31228F #8F224A
split-complementary
#808F22 #224A8F #68228F
monochromatic
#272C0A #545E16 #808F22 #ACC02E #C5D755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F22#FFFFFF#000000##000000
##808F221.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)
#998709
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#88877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f22;
/* rgb */ color: rgb(128, 143, 34);
/* oklch */ color: oklch(61.8% 0.130 117.3);
Tailwind
colors: {
  custom: {
    50: '#a8af66',
    500: '#808f22',
    950: '#000000',
  },
}
SCSS
$custom: #808f22;
$custom-light: #a8af66;
$custom-dark: #000000;
JSON
{
  "hex": "#808f22",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 68.257,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.12983,
    "h": 117.3
  },
  "luminance": 0.2435
}

Semantic roles & 50–950 ramp

primary
#808F22
secondary
#6152BA
accent
#43E559
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F22

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

Preview Lab → · Contrast checker → · Palette generator →

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