#7C8D29#7C8D29

#7C8D29 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.124 H 118.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C8D29
RGBrgb(124, 141, 41)
HSLhsl(70, 55%, 36%)
HSVhsv(70, 71%, 55%)
CMYKcmyk(12.1%, 0%, 70.9%, 44.7%)
CIE-LABlab(55.58, -20.14, 48.72)
CIE-LCHlch(55.58, 52.72, 112.46°)
OKLaboklab(61.02% -0.0596 0.1092)
OKLCHoklch(61.02% 0.124 118.6)
XYZxyz(18.2377, 23.4951, 5.6716)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D29 #3A298D
analogous
#8D6C29 #7C8D29 #4A8D29
triadic
#7C8D29 #297C8D #8D297C
tetradic
#7C8D29 #298D6C #3A298D #8D294A
square
#7C8D29 #298D6C #3A298D #8D294A
split-complementary
#7C8D29 #294A8D #6C298D
monochromatic
#292E0D #525E1B #7C8D29 #A6BC37 #BDD160

Accessibility & contrast

On white

3.68
#7C8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7C8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D29
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D29#FFFFFF#000000##000000
##7C8D291.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968519
Deuteranopia (green-blind)
#948631
Tritanopia (blue-blind)
#838579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d29;
/* rgb */ color: rgb(124, 141, 41);
/* oklch */ color: oklch(61.0% 0.124 118.6);
Tailwind
colors: {
  custom: {
    50: '#a5ae69',
    500: '#7c8d29',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d29;
$custom-light: #a5ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d29",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 70.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.12443,
    "h": 118.6
  },
  "luminance": 0.23495
}

Semantic roles & 50–950 ramp

primary
#7C8D29
secondary
#6B5BB6
accent
#4ADE63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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