#7D9020#7D9020

#7D9020 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.8% C 0.133 H 119.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7D9020
RGBrgb(125, 144, 32)
HSLhsl(70, 64%, 35%)
HSVhsv(70, 78%, 56%)
CMYKcmyk(13.2%, 0%, 77.8%, 43.5%)
CIE-LABlab(56.50, -21.72, 52.93)
CIE-LCHlch(56.50, 57.22, 112.31°)
OKLaboklab(61.76% -0.0649 0.1165)
OKLCHoklch(61.76% 0.133 119.1)
XYZxyz(18.6918, 24.4109, 5.0933)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9020 #332090
analogous
#906B20 #7D9020 #459020
triadic
#7D9020 #207D90 #90207D
tetradic
#7D9020 #20906B #332090 #902045
square
#7D9020 #20906B #332090 #902045
split-complementary
#7D9020 #204590 #6B2090
monochromatic
#262C0A #525E15 #7D9020 #A8C22B #C2D952

Accessibility & contrast

On white

3.57
#7D9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7D9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9020
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9020#FFFFFF#000000##000000
##7D90201.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8703
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#85887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d9020;
/* rgb */ color: rgb(125, 144, 32);
/* oklch */ color: oklch(61.8% 0.133 119.1);
Tailwind
colors: {
  custom: {
    50: '#a6b065',
    500: '#7d9020',
    950: '#000000',
  },
}
SCSS
$custom: #7d9020;
$custom-light: #a6b065;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9020",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 70.179,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.13334,
    "h": 119.1
  },
  "luminance": 0.24411
}

Semantic roles & 50–950 ramp

primary
#7D9020
secondary
#6250BC
accent
#41E75D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9020

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

Preview Lab → · Contrast checker → · Palette generator →

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