#7C8E2C#7C8E2C

#7C8E2C is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.123 H 119.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C8E2C
RGBrgb(124, 142, 44)
HSLhsl(71, 53%, 36%)
HSVhsv(71, 69%, 56%)
CMYKcmyk(12.7%, 0%, 69%, 44.3%)
CIE-LABlab(55.90, -20.46, 47.83)
CIE-LCHlch(55.90, 52.02, 113.16°)
OKLaboklab(61.28% -0.0602 0.1078)
OKLCHoklch(61.28% 0.124 119.2)
XYZxyz(18.4401, 23.8131, 6.0073)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E2C #3E2C8E
analogous
#8E6F2C #7C8E2C #4B8E2C
triadic
#7C8E2C #2C7C8E #8E2C7C
tetradic
#7C8E2C #2C8E6F #3E2C8E #8E2C4B
square
#7C8E2C #2C8E6F #3E2C8E #8E2C4B
split-complementary
#7C8E2C #2C4B8E #6F2C8E
monochromatic
#2A310F #535F1E #7C8E2C #A5BD3A #BCCF65

Accessibility & contrast

On white

3.64
#7C8E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7C8E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E2C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E2C#FFFFFF#000000##000000
##7C8E2C1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#83867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e2c;
/* rgb */ color: rgb(124, 142, 44);
/* oklch */ color: oklch(61.3% 0.123 119.2);
Tailwind
colors: {
  custom: {
    50: '#a5af6b',
    500: '#7c8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e2c;
$custom-light: #a5af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e2c",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 71.02,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.1235,
    "h": 119.2
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#7C8E2C
secondary
#7060B6
accent
#4CDC66
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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