#7C8D2E#7C8D2E

#7C8D2E is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.1% C 0.121 H 118.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7C8D2E
RGBrgb(124, 141, 46)
HSLhsl(71, 51%, 37%)
HSVhsv(71, 67%, 55%)
CMYKcmyk(12.1%, 0%, 67.4%, 44.7%)
CIE-LABlab(55.62, -19.81, 46.70)
CIE-LCHlch(55.62, 50.72, 112.99°)
OKLaboklab(61.06% -0.0582 0.1058)
OKLCHoklch(61.06% 0.121 118.8)
XYZxyz(18.3305, 23.5322, 6.1607)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D2E #3F2E8D
analogous
#8D6F2E #7C8D2E #4D8D2E
triadic
#7C8D2E #2E7C8D #8D2E7C
tetradic
#7C8D2E #2E8D6F #3F2E8D #8D2E4D
square
#7C8D2E #2E8D6F #3F2E8D #8D2E4D
split-complementary
#7C8D2E #2E4D8D #6F2E8D
monochromatic
#2B3110 #535F1F #7C8D2E #A5BB3D #BBCE68

Accessibility & contrast

On white

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

On black

5.71
#7C8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D2E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D2E#FFFFFF#000000##000000
##7C8D2E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#83857A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d2e;
/* rgb */ color: rgb(124, 141, 46);
/* oklch */ color: oklch(61.1% 0.121 118.8);
Tailwind
colors: {
  custom: {
    50: '#a4ae6c',
    500: '#7c8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d2e;
$custom-light: #a4ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d2e",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 70.737,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.12073,
    "h": 118.8
  },
  "luminance": 0.23532
}

Semantic roles & 50–950 ramp

primary
#7C8D2E
secondary
#7162B5
accent
#4EDA67
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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