#807918#807918

#807918 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.112 H 105.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#807918
RGBrgb(128, 121, 24)
HSLhsl(56, 68%, 30%)
HSVhsv(56, 81%, 50%)
CMYKcmyk(0%, 5.5%, 81.3%, 49.8%)
CIE-LABlab(49.89, -8.50, 49.63)
CIE-LCHlch(49.89, 50.35, 99.72°)
OKLaboklab(56.52% -0.0291 0.1078)
OKLCHoklch(56.52% 0.112 105.1)
XYZxyz(15.9050, 18.3305, 3.5643)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807918 #181F80
analogous
#804518 #807918 #538018
triadic
#807918 #188079 #791880
tetradic
#807918 #188045 #181F80 #801853
square
#807918 #188045 #181F80 #801853
split-complementary
#807918 #185380 #451880
monochromatic
#1A1805 #4C480E #807918 #B4AA22 #DACF39

Accessibility & contrast

On white

4.50
#807918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#807918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807918
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807918#FFFFFF#000000##000000
##8079181.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#877820
Tritanopia (blue-blind)
#8A7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807918;
/* rgb */ color: rgb(128, 121, 24);
/* oklch */ color: oklch(56.5% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#a89f5f',
    500: '#807918',
    950: '#000000',
  },
}
SCSS
$custom: #807918;
$custom-light: #a89f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#807918",
  "rgb": {
    "r": 128,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 55.962,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.11167,
    "h": 105.1
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#807918
secondary
#4047B4
accent
#48EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807918

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

Preview Lab → · Contrast checker → · Palette generator →

#807918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva