#808618#808618

#808618 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.6% C 0.125 H 112.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#808618
RGBrgb(128, 134, 24)
HSLhsl(63, 70%, 31%)
HSVhsv(63, 82%, 53%)
CMYKcmyk(4.5%, 0%, 82.1%, 47.5%)
CIE-LABlab(53.71, -15.54, 53.01)
CIE-LCHlch(53.71, 55.24, 106.34°)
OKLaboklab(59.57% -0.0486 0.1151)
OKLCHoklch(59.57% 0.125 112.9)
XYZxyz(17.5926, 21.7057, 4.1269)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808618 #1E1886
analogous
#865518 #808618 #498618
triadic
#808618 #188086 #861880
tetradic
#808618 #188655 #1E1886 #861849
square
#808618 #188655 #1E1886 #861849
split-complementary
#808618 #184986 #551886
monochromatic
#1D1E05 #4E520F #808618 #B2BA21 #D3DC3C

Accessibility & contrast

On white

3.93
#808618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#808618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808618
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808618#FFFFFF#000000##000000
##8086181.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#897D72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #808618;
/* rgb */ color: rgb(128, 134, 24);
/* oklch */ color: oklch(59.6% 0.125 112.9);
Tailwind
colors: {
  custom: {
    50: '#a8a960',
    500: '#808618',
    950: '#000000',
  },
}
SCSS
$custom: #808618;
$custom-light: #a8a960;
$custom-dark: #000000;
JSON
{
  "hex": "#808618",
  "rgb": {
    "r": 128,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 63.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.12493,
    "h": 112.9
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#808618
secondary
#4740BA
accent
#3BEC45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #808618

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

Preview Lab → · Contrast checker → · Palette generator →

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