#807315#807315

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

Color values

HEX#807315
RGBrgb(128, 115, 21)
HSLhsl(53, 72%, 29%)
HSVhsv(53, 84%, 50%)
CMYKcmyk(0%, 10.2%, 83.6%, 49.8%)
CIE-LABlab(48.14, -5.26, 49.04)
CIE-LCHlch(48.14, 49.32, 96.12°)
OKLaboklab(55.12% -0.0202 0.1059)
OKLCHoklch(55.12% 0.108 100.8)
XYZxyz(15.1689, 16.9055, 3.1734)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807315 #152280
analogous
#803E15 #807315 #588015
triadic
#807315 #158073 #731580
tetradic
#807315 #15803E #152280 #801558
square
#807315 #15803E #152280 #801558
split-complementary
#807315 #155880 #3E1580
monochromatic
#1A1804 #4B440C #807315 #B5A21E #DDC932

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807315#FFFFFF#000000##FFFFFF
##8073151.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)
#7F6F00
Deuteranopia (green-blind)
#83741D
Tritanopia (blue-blind)
#8B6A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #807315;
/* rgb */ color: rgb(128, 115, 21);
/* oklch */ color: oklch(55.1% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#a99a5c',
    500: '#807315',
    950: '#000000',
  },
}
SCSS
$custom: #807315;
$custom-light: #a99a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#807315",
  "rgb": {
    "r": 128,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 52.71,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.10784,
    "h": 100.8
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#807315
secondary
#3C4BB5
accent
#4FEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #807315

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

Preview Lab → · Contrast checker → · Palette generator →

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