#807018#807018

#807018 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.4% C 0.104 H 98.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#807018
RGBrgb(128, 112, 24)
HSLhsl(51, 68%, 30%)
HSVhsv(51, 81%, 50%)
CMYKcmyk(0%, 12.5%, 81.3%, 49.8%)
CIE-LABlab(47.29, -3.45, 47.30)
CIE-LCHlch(47.29, 47.43, 94.17°)
OKLaboklab(54.45% -0.0149 0.1028)
OKLCHoklch(54.45% 0.104 98.2)
XYZxyz(14.8619, 16.2443, 3.2166)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807018 #182880
analogous
#803C18 #807018 #5C8018
triadic
#807018 #188070 #701880
tetradic
#807018 #18803C #182880 #80185C
square
#807018 #18803C #182880 #80185C
split-complementary
#807018 #185C80 #3C1880
monochromatic
#1A1705 #4C430E #807018 #B49D22 #DAC139

Accessibility & contrast

On white

4.94
#807018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#807018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807018
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807018#FFFFFF#000000##FFFFFF
##8070181.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#8B6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #807018;
/* rgb */ color: rgb(128, 112, 24);
/* oklch */ color: oklch(54.4% 0.104 98.2);
Tailwind
colors: {
  custom: {
    50: '#a8985d',
    500: '#807018',
    950: '#000000',
  },
}
SCSS
$custom: #807018;
$custom-light: #a8985d;
$custom-dark: #000000;
JSON
{
  "hex": "#807018",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 50.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.10388,
    "h": 98.2
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#807018
secondary
#4051B4
accent
#57EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #807018

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

Preview Lab → · Contrast checker → · Palette generator →

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