#807218#807218

#807218 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.105 H 99.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#807218
RGBrgb(128, 114, 24)
HSLhsl(52, 68%, 30%)
HSVhsv(52, 81%, 50%)
CMYKcmyk(0%, 10.9%, 81.3%, 49.8%)
CIE-LABlab(47.87, -4.58, 47.82)
CIE-LCHlch(47.87, 48.04, 95.47°)
OKLaboklab(54.9% -0.0181 0.1039)
OKLCHoklch(54.9% 0.105 99.9)
XYZxyz(15.0850, 16.6905, 3.2910)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807218 #182680
analogous
#803E18 #807218 #5A8018
triadic
#807218 #188072 #721880
tetradic
#807218 #18803E #182680 #80185A
square
#807218 #18803E #182680 #80185A
split-complementary
#807218 #185A80 #3E1880
monochromatic
#1A1705 #4C440E #807218 #B4A022 #DAC439

Accessibility & contrast

On white

4.84
#807218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#807218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807218
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807218#FFFFFF#000000##FFFFFF
##8072181.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#8B6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #807218;
/* rgb */ color: rgb(128, 114, 24);
/* oklch */ color: oklch(54.9% 0.105 99.9);
Tailwind
colors: {
  custom: {
    50: '#a89a5e',
    500: '#807218',
    950: '#000000',
  },
}
SCSS
$custom: #807218;
$custom-light: #a89a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807218",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 51.923,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.10548,
    "h": 99.9
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#807218
secondary
#404FB4
accent
#54EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807218

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

Preview Lab → · Contrast checker → · Palette generator →

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