#807F2D#807F2D

#807F2D is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.104 H 108.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#807F2D
RGBrgb(128, 127, 45)
HSLhsl(59, 48%, 34%)
HSVhsv(59, 65%, 50%)
CMYKcmyk(0%, 0.8%, 64.8%, 49.8%)
CIE-LABlab(51.79, -10.67, 43.21)
CIE-LCHlch(51.79, 44.51, 103.87°)
OKLaboklab(58.07% -0.033 0.0982)
OKLCHoklch(58.07% 0.104 108.6)
XYZxyz(16.9657, 19.9579, 5.4407)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F2D #2D2E80
analogous
#80562D #807F2D #58802D
triadic
#807F2D #2D807F #7F2D80
tetradic
#807F2D #2D8056 #2D2E80 #802D58
square
#807F2D #2D8056 #2D2E80 #802D58
split-complementary
#807F2D #2D5880 #562D80
monochromatic
#25250D #53521D #807F2D #ADAC3D #C7C660

Accessibility & contrast

On white

4.21
#807F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#807F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F2D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F2D#FFFFFF#000000##000000
##807F2D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#89776E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f2d;
/* rgb */ color: rgb(128, 127, 45);
/* oklch */ color: oklch(58.1% 0.104 108.6);
Tailwind
colors: {
  custom: {
    50: '#a7a36a',
    500: '#807f2d',
    950: '#000000',
  },
}
SCSS
$custom: #807f2d;
$custom-light: #a7a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#807f2d",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 59.277,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.10354,
    "h": 108.6
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#807F2D
secondary
#5B5CAE
accent
#52D850
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #807F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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