#7D8E2D#7D8E2D

#7D8E2D is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.4% C 0.122 H 118.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7D8E2D
RGBrgb(125, 142, 45)
HSLhsl(71, 52%, 37%)
HSVhsv(71, 68%, 56%)
CMYKcmyk(12%, 0%, 68.3%, 44.3%)
CIE-LABlab(55.98, -19.96, 47.52)
CIE-LCHlch(55.98, 51.54, 112.79°)
OKLaboklab(61.37% -0.0588 0.1073)
OKLCHoklch(61.37% 0.122 118.7)
XYZxyz(18.6044, 23.8956, 6.1143)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E2D #3E2D8E
analogous
#8E6F2D #7D8E2D #4D8E2D
triadic
#7D8E2D #2D7D8E #8E2D7D
tetradic
#7D8E2D #2D8E6F #3E2D8E #8E2D4D
square
#7D8E2D #2D8E6F #3E2D8E #8E2D4D
split-complementary
#7D8E2D #2D4D8E #6F2D8E
monochromatic
#2B3110 #54601E #7D8E2D #A6BC3C #BCCF67

Accessibility & contrast

On white

3.63
#7D8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7D8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E2D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E2D#FFFFFF#000000##000000
##7D8E2D1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861F
Deuteranopia (green-blind)
#958734
Tritanopia (blue-blind)
#84867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e2d;
/* rgb */ color: rgb(125, 142, 45);
/* oklch */ color: oklch(61.4% 0.122 118.7);
Tailwind
colors: {
  custom: {
    50: '#a5af6c',
    500: '#7d8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e2d;
$custom-light: #a5af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e2d",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 70.515,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6137,
    "c": 0.12236,
    "h": 118.7
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

primary
#7D8E2D
secondary
#7061B5
accent
#4CDB66
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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