#7E805A#7E805A

#7E805A is a mid, muted yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.055 H 110.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7E805A
RGBrgb(126, 128, 90)
HSLhsl(63, 17%, 43%)
HSVhsv(63, 30%, 50%)
CMYKcmyk(1.6%, 0%, 29.7%, 49.8%)
CIE-LABlab(52.52, -7.33, 20.44)
CIE-LCHlch(52.52, 21.72, 109.72°)
OKLaboklab(58.81% -0.0191 0.0512)
OKLCHoklch(58.81% 0.055 110.5)
XYZxyz(18.1688, 20.6124, 12.6923)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E805A #5C5A80
analogous
#806F5A #7E805A #6B805A
triadic
#7E805A #5A7E80 #805A7E
tetradic
#7E805A #5A806F #5C5A80 #805A6B
square
#7E805A #5A806F #5C5A80 #805A6B
split-complementary
#7E805A #5A6B80 #6F5A80
monochromatic
#373827 #5B5C41 #7E805A #9EA077 #B7B99B

Accessibility & contrast

On white

4.10
#7E805A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7E805A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E805A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E805A#FFFFFF#000000##000000
##7E805A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D57
Deuteranopia (green-blind)
#867E5C
Tritanopia (blue-blind)
#837B76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e805a;
/* rgb */ color: rgb(126, 128, 90);
/* oklch */ color: oklch(58.8% 0.055 110.5);
Tailwind
colors: {
  custom: {
    50: '#a4a489',
    500: '#7e805a',
    950: '#000000',
  },
}
SCSS
$custom: #7e805a;
$custom-light: #a4a489;
$custom-dark: #000000;
JSON
{
  "hex": "#7e805a",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 90
  },
  "hsl": {
    "h": 63.158,
    "s": 17.431,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.05465,
    "h": 110.5
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#7E805A
secondary
#908FA7
accent
#6EBA72
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #7E805A

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

Preview Lab → · Contrast checker → · Palette generator →

#7E805A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva