#7C8D52#7C8D52

#7C8D52 is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.5% C 0.085 H 122.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7C8D52
RGBrgb(124, 141, 82)
HSLhsl(77, 26%, 44%)
HSVhsv(77, 42%, 55%)
CMYKcmyk(12.1%, 0%, 41.8%, 44.7%)
CIE-LABlab(56.03, -16.29, 29.43)
CIE-LCHlch(56.03, 33.64, 118.97°)
OKLaboklab(61.53% -0.0449 0.0718)
OKLCHoklch(61.53% 0.085 122)
XYZxyz(19.3600, 23.9440, 11.5827)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D52 #63528D
analogous
#8D8052 #7C8D52 #5E8D52
triadic
#7C8D52 #527C8D #8D527C
tetradic
#7C8D52 #528D80 #63528D #8D525E
square
#7C8D52 #528D80 #63528D #8D525E
split-complementary
#7C8D52 #525E8D #80528D
monochromatic
#384025 #5A663B #7C8D52 #9BAC70 #B6C297

Accessibility & contrast

On white

3.63
#7C8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7C8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D52
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D52#FFFFFF#000000##000000
##7C8D521.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93874D
Deuteranopia (green-blind)
#918655
Tritanopia (blue-blind)
#80887F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d52;
/* rgb */ color: rgb(124, 141, 82);
/* oklch */ color: oklch(61.5% 0.085 122.0);
Tailwind
colors: {
  custom: {
    50: '#a3ae83',
    500: '#7c8d52',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d52;
$custom-light: #a3ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d52",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 77.288,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.61526,
    "c": 0.0847,
    "h": 122
  },
  "luminance": 0.23944
}

Semantic roles & 50–950 ramp

primary
#7C8D52
secondary
#968BAF
accent
#65C380
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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