#7C8A52#7C8A52

#7C8A52 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.080 H 120.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7C8A52
RGBrgb(124, 138, 82)
HSLhsl(75, 25%, 43%)
HSVhsv(75, 41%, 54%)
CMYKcmyk(10.1%, 0%, 40.6%, 45.9%)
CIE-LABlab(55.15, -14.70, 28.30)
CIE-LCHlch(55.15, 31.89, 117.45°)
OKLaboklab(60.82% -0.0404 0.0692)
OKLCHoklch(60.82% 0.08 120.3)
XYZxyz(18.9237, 23.0713, 11.4373)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A52 #60528A
analogous
#8A7C52 #7C8A52 #608A52
triadic
#7C8A52 #527C8A #8A527C
tetradic
#7C8A52 #528A7C #60528A #8A5260
square
#7C8A52 #528A7C #60528A #8A5260
split-complementary
#7C8A52 #52608A #7C528A
monochromatic
#373D24 #5A643B #7C8A52 #9BAA6F #B6C196

Accessibility & contrast

On white

3.74
#7C8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7C8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A52
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A52#FFFFFF#000000##000000
##7C8A521.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90844E
Deuteranopia (green-blind)
#8F8455
Tritanopia (blue-blind)
#81857C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a52;
/* rgb */ color: rgb(124, 138, 82);
/* oklch */ color: oklch(60.8% 0.080 120.3);
Tailwind
colors: {
  custom: {
    50: '#a3ac83',
    500: '#7c8a52',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a52;
$custom-light: #a3ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a52",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 75,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.08017,
    "h": 120.3
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#7C8A52
secondary
#938AAE
accent
#66C27D
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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