#7B815E#7B815E

#7B815E is a mid, muted yellow-green. Relative luminance 0.207; OKLCH L 58.9% C 0.051 H 115.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B815E
RGBrgb(123, 129, 94)
HSLhsl(70, 16%, 44%)
HSVhsv(70, 27%, 51%)
CMYKcmyk(4.7%, 0%, 27.1%, 49.4%)
CIE-LABlab(52.64, -8.53, 18.28)
CIE-LCHlch(52.64, 20.17, 115.01°)
OKLaboklab(58.87% -0.0224 0.0461)
OKLCHoklch(58.87% 0.051 115.9)
XYZxyz(18.0389, 20.7197, 13.6365)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B815E #645E81
analogous
#81755E #7B815E #69815E
triadic
#7B815E #5E7B81 #815E7B
tetradic
#7B815E #5E8175 #645E81 #815E69
square
#7B815E #5E8175 #645E81 #815E69
split-complementary
#7B815E #5E6981 #755E81
monochromatic
#373A2A #595E44 #7B815E #9AA07C #B5BAA0

Accessibility & contrast

On white

4.08
#7B815E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7B815E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B815E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B815E#FFFFFF#000000##000000
##7B815E1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D5C
Deuteranopia (green-blind)
#857E5F
Tritanopia (blue-blind)
#7F7D78
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b815e;
/* rgb */ color: rgb(123, 129, 94);
/* oklch */ color: oklch(58.9% 0.051 115.9);
Tailwind
colors: {
  custom: {
    50: '#a1a58c',
    500: '#7b815e',
    950: '#000000',
  },
}
SCSS
$custom: #7b815e;
$custom-light: #a1a58c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b815e",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 94
  },
  "hsl": {
    "h": 70.286,
    "s": 15.695,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.05126,
    "h": 115.9
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#7B815E
secondary
#9693A8
accent
#6FB87C
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F0F0C
muted
#7E7F7D

Preview Lab

Preview with #7B815E

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

Preview Lab → · Contrast checker → · Palette generator →

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