#807D18#807D18

#807D18 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.116 H 107.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#807D18
RGBrgb(128, 125, 24)
HSLhsl(58, 68%, 30%)
HSVhsv(58, 81%, 50%)
CMYKcmyk(0%, 2.3%, 81.3%, 49.8%)
CIE-LABlab(51.06, -10.70, 50.67)
CIE-LCHlch(51.06, 51.79, 101.92°)
OKLaboklab(57.45% -0.0352 0.1101)
OKLCHoklch(57.45% 0.116 107.7)
XYZxyz(16.4012, 19.3229, 3.7297)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D18 #181B80
analogous
#804918 #807D18 #4F8018
triadic
#807D18 #18807D #7D1880
tetradic
#807D18 #188049 #181B80 #80184F
square
#807D18 #188049 #181B80 #80184F
split-complementary
#807D18 #184F80 #491880
monochromatic
#1A1905 #4C4B0E #807D18 #B4AF22 #DAD539

Accessibility & contrast

On white

4.32
#807D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#807D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D18
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D18#FFFFFF#000000##000000
##807D181.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d18;
/* rgb */ color: rgb(128, 125, 24);
/* oklch */ color: oklch(57.4% 0.116 107.7);
Tailwind
colors: {
  custom: {
    50: '#a8a25f',
    500: '#807d18',
    950: '#000000',
  },
}
SCSS
$custom: #807d18;
$custom-light: #a8a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#807d18",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 58.269,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.11555,
    "h": 107.7
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#807D18
secondary
#4043B4
accent
#42EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D18

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

Preview Lab → · Contrast checker → · Palette generator →

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