#7C8F2D#7C8F2D

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

Color values

HEX#7C8F2D
RGBrgb(124, 143, 45)
HSLhsl(72, 52%, 37%)
HSVhsv(72, 69%, 56%)
CMYKcmyk(13.3%, 0%, 68.5%, 43.9%)
CIE-LABlab(56.21, -20.91, 47.73)
CIE-LCHlch(56.21, 52.11, 113.65°)
OKLaboklab(61.53% -0.0614 0.1078)
OKLCHoklch(61.53% 0.124 119.7)
XYZxyz(18.6086, 24.1196, 6.1573)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F2D #402D8F
analogous
#8F712D #7C8F2D #4B8F2D
triadic
#7C8F2D #2D7C8F #8F2D7C
tetradic
#7C8F2D #2D8F71 #402D8F #8F2D4B
square
#7C8F2D #2D8F71 #402D8F #8F2D4B
split-complementary
#7C8F2D #2D4B8F #712D8F
monochromatic
#2B3210 #54601E #7C8F2D #A4BE3C #BBCF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8F2D#FFFFFF#000000##000000
##7C8F2D1.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)
#98871F
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#83877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f2d;
/* rgb */ color: rgb(124, 143, 45);
/* oklch */ color: oklch(61.5% 0.124 119.7);
Tailwind
colors: {
  custom: {
    50: '#a5af6c',
    500: '#7c8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f2d;
$custom-light: #a5af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f2d",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 71.633,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.12401,
    "h": 119.7
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

primary
#7C8F2D
secondary
#7262B6
accent
#4CDC68
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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