#7C8E29#7C8E29

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

Color values

HEX#7C8E29
RGBrgb(124, 142, 41)
HSLhsl(71, 55%, 36%)
HSVhsv(71, 71%, 56%)
CMYKcmyk(12.7%, 0%, 71.1%, 44.3%)
CIE-LABlab(55.88, -20.65, 49.02)
CIE-LCHlch(55.88, 53.19, 112.85°)
OKLaboklab(61.26% -0.061 0.1098)
OKLCHoklch(61.26% 0.126 119.1)
XYZxyz(18.3858, 23.7913, 5.7210)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E29 #3B298E
analogous
#8E6D29 #7C8E29 #498E29
triadic
#7C8E29 #297C8E #8E297C
tetradic
#7C8E29 #298E6D #3B298E #8E2949
square
#7C8E29 #298E6D #3B298E #8E2949
split-complementary
#7C8E29 #29498E #6D298E
monochromatic
#292F0E #535F1B #7C8E29 #A5BD37 #BDD160

Accessibility & contrast

On white

3.65
#7C8E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8E29#FFFFFF#000000##000000
##7C8E291.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#83867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e29;
/* rgb */ color: rgb(124, 142, 41);
/* oklch */ color: oklch(61.3% 0.126 119.1);
Tailwind
colors: {
  custom: {
    50: '#a5af69',
    500: '#7c8e29',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e29;
$custom-light: #a5af69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e29",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 70.693,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.12567,
    "h": 119.1
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

primary
#7C8E29
secondary
#6C5CB7
accent
#49DF64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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