#7C882F#7C882F

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

Color values

HEX#7C882F
RGBrgb(124, 136, 47)
HSLhsl(68, 49%, 36%)
HSVhsv(68, 65%, 53%)
CMYKcmyk(8.8%, 0%, 65.4%, 46.7%)
CIE-LABlab(54.13, -17.14, 44.70)
CIE-LCHlch(54.13, 47.88, 110.98°)
OKLaboklab(59.87% -0.0507 0.1017)
OKLCHoklch(59.87% 0.114 116.5)
XYZxyz(17.6298, 22.0989, 6.0255)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C882F #3B2F88
analogous
#88672F #7C882F #4F882F
triadic
#7C882F #2F7C88 #882F7C
tetradic
#7C882F #2F8867 #3B2F88 #882F4F
square
#7C882F #2F8867 #3B2F88 #882F4F
split-complementary
#7C882F #2F4F88 #672F88
monochromatic
#292D10 #535B1F #7C882F #A5B53F #BDCA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C882F#FFFFFF#000000##000000
##7C882F1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#848076
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c882f;
/* rgb */ color: rgb(124, 136, 47);
/* oklch */ color: oklch(59.9% 0.114 116.5);
Tailwind
colors: {
  custom: {
    50: '#a4aa6c',
    500: '#7c882f',
    950: '#000000',
  },
}
SCSS
$custom: #7c882f;
$custom-light: #a4aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c882f",
  "rgb": {
    "r": 124,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 68.09,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.11363,
    "h": 116.5
  },
  "luminance": 0.22099
}

Semantic roles & 50–950 ramp

primary
#7C882F
secondary
#6C61B1
accent
#50D862
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C882F

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

Preview Lab → · Contrast checker → · Palette generator →

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