#7D8162#7D8162

#7D8162 is a mid, muted yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.045 H 113.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D8162
RGBrgb(125, 129, 98)
HSLhsl(68, 14%, 45%)
HSVhsv(68, 24%, 51%)
CMYKcmyk(3.1%, 0%, 24%, 49.4%)
CIE-LABlab(52.89, -7.09, 16.36)
CIE-LCHlch(52.89, 17.83, 113.45°)
OKLaboklab(59.13% -0.0183 0.0415)
OKLCHoklch(59.13% 0.045 113.8)
XYZxyz(18.5122, 20.9425, 14.6200)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8162 #666281
analogous
#817662 #7D8162 #6E8162
triadic
#7D8162 #627D81 #81627D
tetradic
#7D8162 #628176 #666281 #81626E
square
#7D8162 #628176 #666281 #81626E
split-complementary
#7D8162 #626E81 #766281
monochromatic
#3A3B2D #5B5E48 #7D8162 #9B9F81 #B7BAA4

Accessibility & contrast

On white

4.05
#7D8162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7D8162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8162
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8162#FFFFFF#000000##000000
##7D81621.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867E60
Deuteranopia (green-blind)
#857F63
Tritanopia (blue-blind)
#817D79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d8162;
/* rgb */ color: rgb(125, 129, 98);
/* oklch */ color: oklch(59.1% 0.045 113.8);
Tailwind
colors: {
  custom: {
    50: '#a3a58e',
    500: '#7d8162',
    950: '#000000',
  },
}
SCSS
$custom: #7d8162;
$custom-light: #a3a58e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8162",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 67.742,
    "s": 13.656,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.04535,
    "h": 113.8
  },
  "luminance": 0.20942
}

Semantic roles & 50–950 ramp

primary
#7D8162
secondary
#9996A9
accent
#71B67A
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7D8162

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

Preview Lab → · Contrast checker → · Palette generator →

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