#807F18#807F18

#807F18 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.118 H 109.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#807F18
RGBrgb(128, 127, 24)
HSLhsl(59, 68%, 30%)
HSVhsv(59, 81%, 50%)
CMYKcmyk(0%, 0.8%, 81.3%, 49.8%)
CIE-LABlab(51.65, -11.79, 51.19)
CIE-LCHlch(51.65, 52.53, 102.97°)
OKLaboklab(57.92% -0.0382 0.1112)
OKLCHoklch(57.92% 0.118 109)
XYZxyz(16.6570, 19.8344, 3.8150)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F18 #181980
analogous
#804B18 #807F18 #4D8018
triadic
#807F18 #18807F #7F1880
tetradic
#807F18 #18804B #181980 #80184D
square
#807F18 #18804B #181980 #80184D
split-complementary
#807F18 #184D80 #4B1880
monochromatic
#1A1A05 #4C4C0E #807F18 #B4B222 #DAD839

Accessibility & contrast

On white

4.23
#807F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#807F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F18#FFFFFF#000000##000000
##807F181.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7D21
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f18;
/* rgb */ color: rgb(128, 127, 24);
/* oklch */ color: oklch(57.9% 0.118 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a35f',
    500: '#807f18',
    950: '#000000',
  },
}
SCSS
$custom: #807f18;
$custom-light: #a8a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#807f18",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 59.423,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.11756,
    "h": 109
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#807F18
secondary
#4041B4
accent
#3EEB3D
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #807F18

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

Preview Lab → · Contrast checker → · Palette generator →

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