#808918#808918

#808918 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.128 H 114.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#808918
RGBrgb(128, 137, 24)
HSLhsl(65, 70%, 32%)
HSVhsv(65, 82%, 54%)
CMYKcmyk(6.6%, 0%, 82.5%, 46.3%)
CIE-LABlab(54.60, -17.12, 53.79)
CIE-LCHlch(54.60, 56.45, 107.65°)
OKLaboklab(60.28% -0.053 0.1168)
OKLCHoklch(60.28% 0.128 114.4)
XYZxyz(18.0132, 22.5468, 4.2670)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808918 #211889
analogous
#895A18 #808918 #488918
triadic
#808918 #188089 #891880
tetradic
#808918 #18895A #211889 #891848
square
#808918 #18895A #211889 #891848
split-complementary
#808918 #184889 #5A1889
monochromatic
#1F2106 #4F550F #808918 #B1BD21 #D1DD3E

Accessibility & contrast

On white

3.81
#808918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#808918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808918
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808918#FFFFFF#000000##000000
##8089181.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#898075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808918;
/* rgb */ color: rgb(128, 137, 24);
/* oklch */ color: oklch(60.3% 0.128 114.4);
Tailwind
colors: {
  custom: {
    50: '#a8ab61',
    500: '#808918',
    950: '#000000',
  },
}
SCSS
$custom: #808918;
$custom-light: #a8ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#808918",
  "rgb": {
    "r": 128,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 64.779,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.12822,
    "h": 114.4
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#808918
secondary
#4A40BD
accent
#3BED49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808918

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

Preview Lab → · Contrast checker → · Palette generator →

#808918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva