#7C9E2D#7C9E2D

#7C9E2D is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.2% C 0.143 H 124.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7C9E2D
RGBrgb(124, 158, 45)
HSLhsl(78, 56%, 40%)
HSVhsv(78, 72%, 62%)
CMYKcmyk(21.5%, 0%, 71.5%, 38%)
CIE-LABlab(60.72, -28.35, 52.31)
CIE-LCHlch(60.72, 59.50, 118.45°)
OKLaboklab(65.17% -0.0819 0.1174)
OKLCHoklch(65.17% 0.143 124.9)
XYZxyz(21.0128, 28.9280, 6.9587)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9E2D #4F2D9E
analogous
#9E882D #7C9E2D #449E2D
triadic
#7C9E2D #2D7C9E #9E2D7C
tetradic
#7C9E2D #2D9E88 #4F2D9E #9E2D44
square
#7C9E2D #2D9E88 #4F2D9E #9E2D44
split-complementary
#7C9E2D #2D449E #882D9E
monochromatic
#313F12 #576E1F #7C9E2D #9FC940 #B7D66F

Accessibility & contrast

On white

3.09
#7C9E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#7C9E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9E2D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9E2D#FFFFFF#000000##000000
##7C9E2D1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941A
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#829688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c9e2d;
/* rgb */ color: rgb(124, 158, 45);
/* oklch */ color: oklch(65.2% 0.143 124.9);
Tailwind
colors: {
  custom: {
    50: '#a5ba6d',
    500: '#7c9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c9e2d;
$custom-light: #a5ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9e2d",
  "rgb": {
    "r": 124,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 78.053,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65171,
    "c": 0.14315,
    "h": 124.9
  },
  "luminance": 0.28928
}

Semantic roles & 50–950 ramp

primary
#7C9E2D
secondary
#8369BD
accent
#49DF76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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