#807118#807118

#807118 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.105 H 99.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#807118
RGBrgb(128, 113, 24)
HSLhsl(51, 68%, 30%)
HSVhsv(51, 81%, 50%)
CMYKcmyk(0%, 11.7%, 81.3%, 49.8%)
CIE-LABlab(47.58, -4.01, 47.56)
CIE-LCHlch(47.58, 47.73, 94.83°)
OKLaboklab(54.68% -0.0165 0.1034)
OKLCHoklch(54.68% 0.105 99)
XYZxyz(14.9728, 16.4662, 3.2536)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807118 #182780
analogous
#803D18 #807118 #5B8018
triadic
#807118 #188071 #711880
tetradic
#807118 #18803D #182780 #80185B
square
#807118 #18803D #182780 #80185B
split-complementary
#807118 #185B80 #3D1880
monochromatic
#1A1705 #4C440E #807118 #B49E22 #DAC339

Accessibility & contrast

On white

4.89
#807118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#807118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807118
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807118#FFFFFF#000000##FFFFFF
##8071181.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#8B6860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #807118;
/* rgb */ color: rgb(128, 113, 24);
/* oklch */ color: oklch(54.7% 0.105 99.0);
Tailwind
colors: {
  custom: {
    50: '#a8995d',
    500: '#807118',
    950: '#000000',
  },
}
SCSS
$custom: #807118;
$custom-light: #a8995d;
$custom-dark: #000000;
JSON
{
  "hex": "#807118",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 51.346,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.10467,
    "h": 99
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#807118
secondary
#4050B4
accent
#56EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #807118

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

Preview Lab → · Contrast checker → · Palette generator →

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