#7D882E#7D882E

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

Color values

HEX#7D882E
RGBrgb(125, 136, 46)
HSLhsl(67, 49%, 36%)
HSVhsv(67, 66%, 53%)
CMYKcmyk(8.1%, 0%, 66.2%, 46.7%)
CIE-LABlab(54.20, -16.77, 45.24)
CIE-LCHlch(54.20, 48.25, 110.34°)
OKLaboklab(59.94% -0.0498 0.1027)
OKLCHoklch(59.94% 0.114 115.9)
XYZxyz(17.7551, 22.1658, 5.9273)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D882E #392E88
analogous
#88662E #7D882E #50882E
triadic
#7D882E #2E7D88 #882E7D
tetradic
#7D882E #2E8866 #392E88 #882E50
square
#7D882E #2E8866 #392E88 #882E50
split-complementary
#7D882E #2E5088 #662E88
monochromatic
#292D0F #535A1F #7D882E #A7B63D #BFCB65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D882E#FFFFFF#000000##000000
##7D882E1.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)
#918122
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#858075
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d882e;
/* rgb */ color: rgb(125, 136, 46);
/* oklch */ color: oklch(59.9% 0.114 115.9);
Tailwind
colors: {
  custom: {
    50: '#a5aa6c',
    500: '#7d882e',
    950: '#000000',
  },
}
SCSS
$custom: #7d882e;
$custom-light: #a5aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d882e",
  "rgb": {
    "r": 125,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 67.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.11411,
    "h": 115.9
  },
  "luminance": 0.22166
}

Semantic roles & 50–950 ramp

primary
#7D882E
secondary
#6A60B2
accent
#4FD960
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D882E

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

Preview Lab → · Contrast checker → · Palette generator →

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