#807128#807128

#807128 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.094 H 97.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#807128
RGBrgb(128, 113, 40)
HSLhsl(50, 52%, 33%)
HSVhsv(50, 69%, 50%)
CMYKcmyk(0%, 11.7%, 68.8%, 49.8%)
CIE-LABlab(47.69, -3.19, 41.17)
CIE-LCHlch(47.69, 41.30, 94.43°)
OKLaboklab(54.8% -0.0123 0.093)
OKLCHoklch(54.8% 0.094 97.5)
XYZxyz(15.1909, 16.5534, 4.4020)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807128 #283780
analogous
#804528 #807128 #638028
triadic
#807128 #288071 #712880
tetradic
#807128 #288045 #283780 #802863
square
#807128 #288045 #283780 #802863
split-complementary
#807128 #286380 #452880
monochromatic
#231F0B #514819 #807128 #AF9A37 #CBB758

Accessibility & contrast

On white

4.87
#807128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#807128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807128
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807128#FFFFFF#000000##FFFFFF
##8071281.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1F
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#8A6962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #807128;
/* rgb */ color: rgb(128, 113, 40);
/* oklch */ color: oklch(54.8% 0.094 97.5);
Tailwind
colors: {
  custom: {
    50: '#a89966',
    500: '#807128',
    950: '#000000',
  },
}
SCSS
$custom: #807128;
$custom-light: #a89966;
$custom-dark: #000000;
JSON
{
  "hex": "#807128",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 49.773,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.548,
    "c": 0.09381,
    "h": 97.5
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#807128
secondary
#5464B0
accent
#65DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #807128

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

Preview Lab → · Contrast checker → · Palette generator →

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