#7C8F52#7C8F52

#7C8F52 is a light, moderate yellow-green. Relative luminance 0.245; OKLCH L 62.0% C 0.088 H 123.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7C8F52
RGBrgb(124, 143, 82)
HSLhsl(79, 27%, 44%)
HSVhsv(79, 43%, 56%)
CMYKcmyk(13.3%, 0%, 42.7%, 43.9%)
CIE-LABlab(56.62, -17.34, 30.18)
CIE-LCHlch(56.62, 34.81, 119.89°)
OKLaboklab(62% -0.0479 0.0735)
OKLCHoklch(62% 0.088 123.1)
XYZxyz(19.6576, 24.5391, 11.6819)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F52 #65528F
analogous
#8F8452 #7C8F52 #5E8F52
triadic
#7C8F52 #527C8F #8F527C
tetradic
#7C8F52 #528F84 #65528F #8F525E
square
#7C8F52 #528F84 #65528F #8F525E
split-complementary
#7C8F52 #525E8F #84528F
monochromatic
#394125 #5A683C #7C8F52 #9BAD71 #B6C498

Accessibility & contrast

On white

3.55
#7C8F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7C8F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F52
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F52#FFFFFF#000000##000000
##7C8F521.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884D
Deuteranopia (green-blind)
#938855
Tritanopia (blue-blind)
#808A80
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c8f52;
/* rgb */ color: rgb(124, 143, 82);
/* oklch */ color: oklch(62.0% 0.088 123.1);
Tailwind
colors: {
  custom: {
    50: '#a3af83',
    500: '#7c8f52',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f52;
$custom-light: #a3af83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f52",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 78.689,
    "s": 27.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.62,
    "c": 0.08773,
    "h": 123.1
  },
  "luminance": 0.24539
}

Semantic roles & 50–950 ramp

primary
#7C8F52
secondary
#978CB1
accent
#64C382
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8F52

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

Preview Lab → · Contrast checker → · Palette generator →

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