#7C882D#7C882D

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

Color values

HEX#7C882D
RGBrgb(124, 136, 45)
HSLhsl(68, 50%, 35%)
HSVhsv(68, 67%, 53%)
CMYKcmyk(8.8%, 0%, 66.9%, 46.7%)
CIE-LABlab(54.12, -17.28, 45.56)
CIE-LCHlch(54.12, 48.73, 110.77°)
OKLaboklab(59.85% -0.0513 0.1032)
OKLCHoklch(59.85% 0.115 116.4)
XYZxyz(17.5904, 22.0831, 5.8179)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C882D #392D88
analogous
#88662D #7C882D #4E882D
triadic
#7C882D #2D7C88 #882D7C
tetradic
#7C882D #2D8866 #392D88 #882D4E
square
#7C882D #2D8866 #392D88 #882D4E
split-complementary
#7C882D #2D4E88 #662D88
monochromatic
#282C0F #525A1E #7C882D #A6B63C #BECC64

Accessibility & contrast

On white

3.88
#7C882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7C882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C882D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C882D#FFFFFF#000000##000000
##7C882D1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#848075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c882d;
/* rgb */ color: rgb(124, 136, 45);
/* oklch */ color: oklch(59.9% 0.115 116.4);
Tailwind
colors: {
  custom: {
    50: '#a4aa6b',
    500: '#7c882d',
    950: '#000000',
  },
}
SCSS
$custom: #7c882d;
$custom-light: #a4aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c882d",
  "rgb": {
    "r": 124,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 67.912,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.11524,
    "h": 116.4
  },
  "luminance": 0.22083
}

Semantic roles & 50–950 ramp

primary
#7C882D
secondary
#6A5FB2
accent
#4EDA60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C882D

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

Preview Lab → · Contrast checker → · Palette generator →

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