#7C8F29#7C8F29

#7C8F29 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.5% C 0.127 H 119.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7C8F29
RGBrgb(124, 143, 41)
HSLhsl(71, 55%, 36%)
HSVhsv(71, 71%, 56%)
CMYKcmyk(13.3%, 0%, 71.3%, 43.9%)
CIE-LABlab(56.18, -21.16, 49.32)
CIE-LCHlch(56.18, 53.67, 113.22°)
OKLaboklab(61.5% -0.0625 0.1105)
OKLCHoklch(61.5% 0.127 119.5)
XYZxyz(18.5352, 24.0902, 5.7708)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F29 #3C298F
analogous
#8F6F29 #7C8F29 #498F29
triadic
#7C8F29 #297C8F #8F297C
tetradic
#7C8F29 #298F6F #3C298F #8F2949
square
#7C8F29 #298F6F #3C298F #8F2949
split-complementary
#7C8F29 #29498F #6F298F
monochromatic
#2A300E #535F1B #7C8F29 #A5BF37 #BDD261

Accessibility & contrast

On white

3.61
#7C8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#7C8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F29
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F29#FFFFFF#000000##000000
##7C8F291.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988718
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#83877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f29;
/* rgb */ color: rgb(124, 143, 41);
/* oklch */ color: oklch(61.5% 0.127 119.5);
Tailwind
colors: {
  custom: {
    50: '#a5af6a',
    500: '#7c8f29',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f29;
$custom-light: #a5af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f29",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 71.176,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61498,
    "c": 0.12691,
    "h": 119.5
  },
  "luminance": 0.2409
}

Semantic roles & 50–950 ramp

primary
#7C8F29
secondary
#6D5CB7
accent
#49DF65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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