#807A15#807A15

#807A15 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.114 H 105.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#807A15
RGBrgb(128, 122, 21)
HSLhsl(57, 72%, 29%)
HSVhsv(57, 84%, 50%)
CMYKcmyk(0%, 4.7%, 83.6%, 49.8%)
CIE-LABlab(50.17, -9.16, 50.80)
CIE-LCHlch(50.17, 51.62, 100.22°)
OKLaboklab(56.73% -0.0312 0.1097)
OKLCHoklch(56.73% 0.114 105.9)
XYZxyz(15.9977, 18.5630, 3.4497)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A15 #151B80
analogous
#804515 #807A15 #508015
triadic
#807A15 #15807A #7A1580
tetradic
#807A15 #158045 #151B80 #801550
square
#807A15 #158045 #151B80 #801550
split-complementary
#807A15 #155080 #451580
monochromatic
#1A1904 #4B480C #807A15 #B5AC1E #DDD432

Accessibility & contrast

On white

4.46
#807A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#807A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A15
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A15#FFFFFF#000000##000000
##807A151.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#8A7168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807a15;
/* rgb */ color: rgb(128, 122, 21);
/* oklch */ color: oklch(56.7% 0.114 105.9);
Tailwind
colors: {
  custom: {
    50: '#a8a05d',
    500: '#807a15',
    950: '#000000',
  },
}
SCSS
$custom: #807a15;
$custom-light: #a8a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#807a15",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 56.636,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.11408,
    "h": 105.9
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#807A15
secondary
#3C43B5
accent
#43EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807A15

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

Preview Lab → · Contrast checker → · Palette generator →

#807A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva