#807B18#807B18

#807B18 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.114 H 106.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#807B18
RGBrgb(128, 123, 24)
HSLhsl(57, 68%, 30%)
HSVhsv(57, 81%, 50%)
CMYKcmyk(0%, 3.9%, 81.3%, 49.8%)
CIE-LABlab(50.48, -9.60, 50.15)
CIE-LCHlch(50.48, 51.06, 100.84°)
OKLaboklab(56.98% -0.0321 0.1089)
OKLCHoklch(56.98% 0.114 106.4)
XYZxyz(16.1506, 18.8217, 3.6462)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B18 #181D80
analogous
#804718 #807B18 #518018
triadic
#807B18 #18807B #7B1880
tetradic
#807B18 #188047 #181D80 #801851
square
#807B18 #188047 #181D80 #801851
split-complementary
#807B18 #185180 #471880
monochromatic
#1A1905 #4C490E #807B18 #B4AD22 #DAD239

Accessibility & contrast

On white

4.41
#807B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#807B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B18
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B18#FFFFFF#000000##000000
##807B181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#887A20
Tritanopia (blue-blind)
#8A7269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b18;
/* rgb */ color: rgb(128, 123, 24);
/* oklch */ color: oklch(57.0% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#a8a05f',
    500: '#807b18',
    950: '#000000',
  },
}
SCSS
$custom: #807b18;
$custom-light: #a8a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#807b18",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 57.115,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.11358,
    "h": 106.4
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#807B18
secondary
#4045B4
accent
#45EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807B18

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

Preview Lab → · Contrast checker → · Palette generator →

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