#7D882D#7D882D

#7D882D is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.115 H 115.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7D882D
RGBrgb(125, 136, 45)
HSLhsl(67, 50%, 35%)
HSVhsv(67, 67%, 53%)
CMYKcmyk(8.1%, 0%, 66.9%, 46.7%)
CIE-LABlab(54.19, -16.84, 45.67)
CIE-LCHlch(54.19, 48.67, 110.24°)
OKLaboklab(59.93% -0.0501 0.1034)
OKLCHoklch(59.93% 0.115 115.9)
XYZxyz(17.7357, 22.1580, 5.8247)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D882D #382D88
analogous
#88652D #7D882D #4F882D
triadic
#7D882D #2D7D88 #882D7D
tetradic
#7D882D #2D8865 #382D88 #882D4F
square
#7D882D #2D8865 #382D88 #882D4F
split-complementary
#7D882D #2D4F88 #652D88
monochromatic
#282C0F #535A1E #7D882D #A7B63C #BFCC64

Accessibility & contrast

On white

3.87
#7D882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7D882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D882D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D882D#FFFFFF#000000##000000
##7D882D1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#918233
Tritanopia (blue-blind)
#858075
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d882d;
/* rgb */ color: rgb(125, 136, 45);
/* oklch */ color: oklch(59.9% 0.115 115.9);
Tailwind
colors: {
  custom: {
    50: '#a5aa6b',
    500: '#7d882d',
    950: '#000000',
  },
}
SCSS
$custom: #7d882d;
$custom-light: #a5aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d882d",
  "rgb": {
    "r": 125,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 67.253,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59933,
    "c": 0.11491,
    "h": 115.9
  },
  "luminance": 0.22158
}

Semantic roles & 50–950 ramp

primary
#7D882D
secondary
#695FB2
accent
#4EDA5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D882D

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

Preview Lab → · Contrast checker → · Palette generator →

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