#807E18#807E18

#807E18 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.117 H 108.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#807E18
RGBrgb(128, 126, 24)
HSLhsl(59, 68%, 30%)
HSVhsv(59, 81%, 50%)
CMYKcmyk(0%, 1.6%, 81.3%, 49.8%)
CIE-LABlab(51.36, -11.24, 50.93)
CIE-LCHlch(51.36, 52.16, 102.45°)
OKLaboklab(57.68% -0.0367 0.1106)
OKLCHoklch(57.68% 0.117 108.4)
XYZxyz(16.5285, 19.5774, 3.7721)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E18 #181A80
analogous
#804A18 #807E18 #4E8018
triadic
#807E18 #18807E #7E1880
tetradic
#807E18 #18804A #181A80 #80184E
square
#807E18 #18804A #181A80 #80184E
split-complementary
#807E18 #184E80 #4A1880
monochromatic
#1A1905 #4C4B0E #807E18 #B4B122 #DAD739

Accessibility & contrast

On white

4.27
#807E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#807E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E18#FFFFFF#000000##000000
##807E181.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8B7C21
Tritanopia (blue-blind)
#8A756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e18;
/* rgb */ color: rgb(128, 126, 24);
/* oklch */ color: oklch(57.7% 0.117 108.4);
Tailwind
colors: {
  custom: {
    50: '#a8a35f',
    500: '#807e18',
    950: '#000000',
  },
}
SCSS
$custom: #807e18;
$custom-light: #a8a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#807e18",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 58.846,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.11655,
    "h": 108.4
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#807E18
secondary
#4042B4
accent
#40EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807E18

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

Preview Lab → · Contrast checker → · Palette generator →

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