#7E825F#7E825F

#7E825F is a mid, muted yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.051 H 113.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E825F
RGBrgb(126, 130, 95)
HSLhsl(67, 16%, 44%)
HSVhsv(67, 27%, 51%)
CMYKcmyk(3.1%, 0%, 26.9%, 49%)
CIE-LABlab(53.20, -7.71, 18.51)
CIE-LCHlch(53.20, 20.05, 112.60°)
OKLaboklab(59.38% -0.02 0.0467)
OKLCHoklch(59.38% 0.051 113.2)
XYZxyz(18.6523, 21.2273, 13.9389)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E825F #635F82
analogous
#82755F #7E825F #6D825F
triadic
#7E825F #5F7E82 #825F7E
tetradic
#7E825F #5F8275 #635F82 #825F6D
square
#7E825F #5F8275 #635F82 #825F6D
split-complementary
#7E825F #5F6D82 #755F82
monochromatic
#393B2B #5C5F45 #7E825F #9DA17E #B7BAA1

Accessibility & contrast

On white

4.00
#7E825F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7E825F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E825F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E825F#FFFFFF#000000##000000
##7E825F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F5D
Deuteranopia (green-blind)
#877F60
Tritanopia (blue-blind)
#827E79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e825f;
/* rgb */ color: rgb(126, 130, 95);
/* oklch */ color: oklch(59.4% 0.051 113.2);
Tailwind
colors: {
  custom: {
    50: '#a3a68c',
    500: '#7e825f',
    950: '#000000',
  },
}
SCSS
$custom: #7e825f;
$custom-light: #a3a68c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e825f",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 95
  },
  "hsl": {
    "h": 66.857,
    "s": 15.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.05079,
    "h": 113.2
  },
  "luminance": 0.21227
}

Semantic roles & 50–950 ramp

primary
#7E825F
secondary
#9694A9
accent
#6FB878
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7E825F

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

Preview Lab → · Contrast checker → · Palette generator →

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