#7C8A51#7C8A51

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

Color values

HEX#7C8A51
RGBrgb(124, 138, 81)
HSLhsl(75, 26%, 43%)
HSVhsv(75, 41%, 54%)
CMYKcmyk(10.1%, 0%, 41.3%, 45.9%)
CIE-LABlab(55.13, -14.83, 28.82)
CIE-LCHlch(55.13, 32.41, 117.22°)
OKLaboklab(60.8% -0.0409 0.0704)
OKLCHoklch(60.8% 0.081 120.1)
XYZxyz(18.8859, 23.0562, 11.2383)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A51 #5F518A
analogous
#8A7B51 #7C8A51 #5F8A51
triadic
#7C8A51 #517C8A #8A517C
tetradic
#7C8A51 #518A7B #5F518A #8A515F
square
#7C8A51 #518A7B #5F518A #8A515F
split-complementary
#7C8A51 #515F8A #7B518A
monochromatic
#373D24 #59633A #7C8A51 #9BAA6E #B6C195

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A51#FFFFFF#000000##000000
##7C8A511.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)
#91844D
Deuteranopia (green-blind)
#8F8454
Tritanopia (blue-blind)
#81857C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a51;
/* rgb */ color: rgb(124, 138, 81);
/* oklch */ color: oklch(60.8% 0.081 120.1);
Tailwind
colors: {
  custom: {
    50: '#a3ac83',
    500: '#7c8a51',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a51;
$custom-light: #a3ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a51",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 74.737,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.08137,
    "h": 120.1
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#7C8A51
secondary
#9289AE
accent
#65C27C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8A51

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

Preview Lab → · Contrast checker → · Palette generator →

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