#7C883C#7C883C

#7C883C is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.0% C 0.102 H 117.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7C883C
RGBrgb(124, 136, 60)
HSLhsl(69, 39%, 38%)
HSVhsv(69, 56%, 53%)
CMYKcmyk(8.8%, 0%, 55.9%, 46.7%)
CIE-LABlab(54.26, -16.07, 38.72)
CIE-LCHlch(54.26, 41.93, 112.54°)
OKLaboklab(60.01% -0.0463 0.0907)
OKLCHoklch(60.01% 0.102 117)
XYZxyz(17.9322, 22.2198, 7.6183)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C883C #483C88
analogous
#886E3C #7C883C #56883C
triadic
#7C883C #3C7C88 #883C7C
tetradic
#7C883C #3C886E #483C88 #883C56
square
#7C883C #3C886E #483C88 #883C56
split-complementary
#7C883C #3C5688 #6E3C88
monochromatic
#2F3317 #555E29 #7C883C #A2B250 #B9C47A

Accessibility & contrast

On white

3.86
#7C883C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7C883C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C883C
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C883C#FFFFFF#000000##000000
##7C883C1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908134
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#838177
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c883c;
/* rgb */ color: rgb(124, 136, 60);
/* oklch */ color: oklch(60.0% 0.102 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4aa74',
    500: '#7c883c',
    950: '#000000',
  },
}
SCSS
$custom: #7c883c;
$custom-light: #a4aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c883c",
  "rgb": {
    "r": 124,
    "g": 136,
    "b": 60
  },
  "hsl": {
    "h": 69.474,
    "s": 38.776,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.10178,
    "h": 117
  },
  "luminance": 0.2222
}

Semantic roles & 50–950 ramp

primary
#7C883C
secondary
#7B72AE
accent
#59CF6C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C883C

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

Preview Lab → · Contrast checker → · Palette generator →

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