#807418#807418

#807418 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.4% C 0.107 H 101.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#807418
RGBrgb(128, 116, 24)
HSLhsl(53, 68%, 30%)
HSVhsv(53, 81%, 50%)
CMYKcmyk(0%, 9.4%, 81.3%, 49.8%)
CIE-LABlab(48.44, -5.71, 48.34)
CIE-LCHlch(48.44, 48.67, 96.74°)
OKLaboklab(55.36% -0.0212 0.105)
OKLCHoklch(55.36% 0.107 101.4)
XYZxyz(15.3131, 17.1466, 3.3670)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807418 #182480
analogous
#804018 #807418 #588018
triadic
#807418 #188074 #741880
tetradic
#807418 #188040 #182480 #801858
square
#807418 #188040 #182480 #801858
split-complementary
#807418 #185880 #401880
monochromatic
#1A1705 #4C450E #807418 #B4A322 #DAC739

Accessibility & contrast

On white

4.74
#807418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#807418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807418
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807418#FFFFFF#000000##FFFFFF
##8074181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#8A6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #807418;
/* rgb */ color: rgb(128, 116, 24);
/* oklch */ color: oklch(55.4% 0.107 101.4);
Tailwind
colors: {
  custom: {
    50: '#a89b5e',
    500: '#807418',
    950: '#000000',
  },
}
SCSS
$custom: #807418;
$custom-light: #a89b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807418",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 53.077,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55362,
    "c": 0.10715,
    "h": 101.4
  },
  "luminance": 0.17146
}

Semantic roles & 50–950 ramp

primary
#807418
secondary
#404DB4
accent
#51EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807418

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

Preview Lab → · Contrast checker → · Palette generator →

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