#807F2B#807F2B

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

Color values

HEX#807F2B
RGBrgb(128, 127, 43)
HSLhsl(59, 50%, 34%)
HSVhsv(59, 66%, 50%)
CMYKcmyk(0%, 0.8%, 66.4%, 49.8%)
CIE-LABlab(51.77, -10.81, 44.09)
CIE-LCHlch(51.77, 45.39, 103.77°)
OKLaboklab(58.05% -0.0336 0.0997)
OKLCHoklch(58.05% 0.105 108.6)
XYZxyz(16.9281, 19.9429, 5.2427)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F2B #2B2C80
analogous
#80542B #807F2B #56802B
triadic
#807F2B #2B807F #7F2B80
tetradic
#807F2B #2B8054 #2B2C80 #802B56
square
#807F2B #2B8054 #2B2C80 #802B56
split-complementary
#807F2B #2B5680 #542B80
monochromatic
#24240C #52521C #807F2B #AEAC3A #C9C75D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F2B#FFFFFF#000000##000000
##807F2B1.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)
#897A20
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#89776E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f2b;
/* rgb */ color: rgb(128, 127, 43);
/* oklch */ color: oklch(58.1% 0.105 108.6);
Tailwind
colors: {
  custom: {
    50: '#a7a369',
    500: '#807f2b',
    950: '#000000',
  },
}
SCSS
$custom: #807f2b;
$custom-light: #a7a369;
$custom-dark: #000000;
JSON
{
  "hex": "#807f2b",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 59.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.10518,
    "h": 108.6
  },
  "luminance": 0.19942
}

Semantic roles & 50–950 ramp

primary
#807F2B
secondary
#5859AE
accent
#50D94F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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