#7D8E2A#7D8E2A

#7D8E2A is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.125 H 118.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7D8E2A
RGBrgb(125, 142, 42)
HSLhsl(70, 54%, 36%)
HSVhsv(70, 70%, 56%)
CMYKcmyk(12%, 0%, 70.4%, 44.3%)
CIE-LABlab(55.96, -20.16, 48.73)
CIE-LCHlch(55.96, 52.73, 112.47°)
OKLaboklab(61.34% -0.0596 0.1094)
OKLCHoklch(61.34% 0.125 118.6)
XYZxyz(18.5487, 23.8733, 5.8209)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E2A #3B2A8E
analogous
#8E6D2A #7D8E2A #4B8E2A
triadic
#7D8E2A #2A7D8E #8E2A7D
tetradic
#7D8E2A #2A8E6D #3B2A8E #8E2A4B
square
#7D8E2A #2A8E6D #3B2A8E #8E2A4B
split-complementary
#7D8E2A #2A4B8E #6D2A8E
monochromatic
#2A300E #535F1C #7D8E2A #A7BD38 #BED162

Accessibility & contrast

On white

3.64
#7D8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7D8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E2A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E2A#FFFFFF#000000##000000
##7D8E2A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8e2a;
/* rgb */ color: rgb(125, 142, 42);
/* oklch */ color: oklch(61.3% 0.125 118.6);
Tailwind
colors: {
  custom: {
    50: '#a5af6a',
    500: '#7d8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e2a;
$custom-light: #a5af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e2a",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 70.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.12457,
    "h": 118.6
  },
  "luminance": 0.23873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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