#7D8262#7D8262

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

Color values

HEX#7D8262
RGBrgb(125, 130, 98)
HSLhsl(69, 14%, 45%)
HSVhsv(69, 25%, 51%)
CMYKcmyk(3.8%, 0%, 24.6%, 49%)
CIE-LABlab(53.18, -7.65, 16.75)
CIE-LCHlch(53.18, 18.42, 114.55°)
OKLaboklab(59.36% -0.0199 0.0425)
OKLCHoklch(59.36% 0.047 115.1)
XYZxyz(18.6445, 21.2072, 14.6641)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8262 #676282
analogous
#827762 #7D8262 #6D8262
triadic
#7D8262 #627D82 #82627D
tetradic
#7D8262 #628277 #676282 #82626D
square
#7D8262 #628277 #676282 #82626D
split-complementary
#7D8262 #626D82 #776282
monochromatic
#3A3C2D #5B5F48 #7D8262 #9BA081 #B7BAA4

Accessibility & contrast

On white

4.01
#7D8262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7D8262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8262
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8262#FFFFFF#000000##000000
##7D82621.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F60
Deuteranopia (green-blind)
#867F63
Tritanopia (blue-blind)
#817E79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d8262;
/* rgb */ color: rgb(125, 130, 98);
/* oklch */ color: oklch(59.4% 0.047 115.1);
Tailwind
colors: {
  custom: {
    50: '#a3a68e',
    500: '#7d8262',
    950: '#000000',
  },
}
SCSS
$custom: #7d8262;
$custom-light: #a3a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8262",
  "rgb": {
    "r": 125,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 69.375,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.04688,
    "h": 115.1
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#7D8262
secondary
#9997A9
accent
#71B77C
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7D8262

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

Preview Lab → · Contrast checker → · Palette generator →

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