#807E2B#807E2B

#807E2B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.104 H 107.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#807E2B
RGBrgb(128, 126, 43)
HSLhsl(59, 50%, 34%)
HSVhsv(59, 66%, 50%)
CMYKcmyk(0%, 1.6%, 66.4%, 49.8%)
CIE-LABlab(51.48, -10.26, 43.78)
CIE-LCHlch(51.48, 44.97, 103.19°)
OKLaboklab(57.82% -0.032 0.099)
OKLCHoklch(57.82% 0.104 107.9)
XYZxyz(16.7996, 19.6858, 5.1998)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E2B #2B2D80
analogous
#80532B #807E2B #57802B
triadic
#807E2B #2B807E #7E2B80
tetradic
#807E2B #2B8053 #2B2D80 #802B57
square
#807E2B #2B8053 #2B2D80 #802B57
split-complementary
#807E2B #2B5780 #532B80
monochromatic
#24240C #52511C #807E2B #AEAB3A #C9C65D

Accessibility & contrast

On white

4.25
#807E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#807E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E2B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E2B#FFFFFF#000000##000000
##807E2B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887920
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#89766D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807e2b;
/* rgb */ color: rgb(128, 126, 43);
/* oklch */ color: oklch(57.8% 0.104 107.9);
Tailwind
colors: {
  custom: {
    50: '#a7a369',
    500: '#807e2b',
    950: '#000000',
  },
}
SCSS
$custom: #807e2b;
$custom-light: #a7a369;
$custom-dark: #000000;
JSON
{
  "hex": "#807e2b",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 58.588,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.10408,
    "h": 107.9
  },
  "luminance": 0.19685
}

Semantic roles & 50–950 ramp

primary
#807E2B
secondary
#585AAE
accent
#52D94F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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