#7D8E2F#7D8E2F

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

Color values

HEX#7D8E2F
RGBrgb(125, 142, 47)
HSLhsl(71, 50%, 37%)
HSVhsv(71, 67%, 56%)
CMYKcmyk(12%, 0%, 66.9%, 44.3%)
CIE-LABlab(56.00, -19.82, 46.69)
CIE-LCHlch(56.00, 50.73, 113.01°)
OKLaboklab(61.39% -0.0582 0.1059)
OKLCHoklch(61.39% 0.121 118.8)
XYZxyz(18.6439, 23.9113, 6.3220)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E2F #402F8E
analogous
#8E702F #7D8E2F #4D8E2F
triadic
#7D8E2F #2F7D8E #8E2F7D
tetradic
#7D8E2F #2F8E70 #402F8E #8E2F4D
square
#7D8E2F #2F8E70 #402F8E #8E2F4D
split-complementary
#7D8E2F #2F4D8E #702F8E
monochromatic
#2C3211 #556020 #7D8E2F #A5BC3E #BCCE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8E2F#FFFFFF#000000##000000
##7D8E2F1.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)
#978622
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#84867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e2f;
/* rgb */ color: rgb(125, 142, 47);
/* oklch */ color: oklch(61.4% 0.121 118.8);
Tailwind
colors: {
  custom: {
    50: '#a5af6d',
    500: '#7d8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e2f;
$custom-light: #a5af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e2f",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 70.737,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.12083,
    "h": 118.8
  },
  "luminance": 0.23911
}

Semantic roles & 50–950 ramp

primary
#7D8E2F
secondary
#7364B5
accent
#4EDA67
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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