#807C18#807C18

#807C18 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.115 H 107.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#807C18
RGBrgb(128, 124, 24)
HSLhsl(58, 68%, 30%)
HSVhsv(58, 81%, 50%)
CMYKcmyk(0%, 3.1%, 81.3%, 49.8%)
CIE-LABlab(50.77, -10.15, 50.41)
CIE-LCHlch(50.77, 51.42, 101.38°)
OKLaboklab(57.21% -0.0337 0.1095)
OKLCHoklch(57.21% 0.115 107.1)
XYZxyz(16.2753, 19.0710, 3.6877)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C18 #181C80
analogous
#804818 #807C18 #508018
triadic
#807C18 #18807C #7C1880
tetradic
#807C18 #188048 #181C80 #801850
square
#807C18 #188048 #181C80 #801850
split-complementary
#807C18 #185080 #481880
monochromatic
#1A1905 #4C4A0E #807C18 #B4AE22 #DAD439

Accessibility & contrast

On white

4.36
#807C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#807C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C18
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C18#FFFFFF#000000##000000
##807C181.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c18;
/* rgb */ color: rgb(128, 124, 24);
/* oklch */ color: oklch(57.2% 0.115 107.1);
Tailwind
colors: {
  custom: {
    50: '#a8a15f',
    500: '#807c18',
    950: '#000000',
  },
}
SCSS
$custom: #807c18;
$custom-light: #a8a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#807c18",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 57.692,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.11455,
    "h": 107.1
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#807C18
secondary
#4044B4
accent
#43EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807C18

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

Preview Lab → · Contrast checker → · Palette generator →

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