#807318#807318

#807318 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.106 H 100.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#807318
RGBrgb(128, 115, 24)
HSLhsl(53, 68%, 30%)
HSVhsv(53, 81%, 50%)
CMYKcmyk(0%, 10.2%, 81.3%, 49.8%)
CIE-LABlab(48.16, -5.15, 48.08)
CIE-LCHlch(48.16, 48.35, 96.11°)
OKLaboklab(55.13% -0.0196 0.1045)
OKLCHoklch(55.13% 0.106 100.7)
XYZxyz(15.1984, 16.9173, 3.3288)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807318 #182580
analogous
#803F18 #807318 #598018
triadic
#807318 #188073 #731880
tetradic
#807318 #18803F #182580 #801859
square
#807318 #18803F #182580 #801859
split-complementary
#807318 #185980 #3F1880
monochromatic
#1A1705 #4C450E #807318 #B4A122 #DAC639

Accessibility & contrast

On white

4.79
#807318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#807318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807318
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807318#FFFFFF#000000##FFFFFF
##8073181.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #807318;
/* rgb */ color: rgb(128, 115, 24);
/* oklch */ color: oklch(55.1% 0.106 100.7);
Tailwind
colors: {
  custom: {
    50: '#a89a5e',
    500: '#807318',
    950: '#000000',
  },
}
SCSS
$custom: #807318;
$custom-light: #a89a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807318",
  "rgb": {
    "r": 128,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 52.5,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55132,
    "c": 0.10631,
    "h": 100.7
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#807318
secondary
#404EB4
accent
#52EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807318

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

Preview Lab → · Contrast checker → · Palette generator →

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