#7D9220#7D9220

#7D9220 is a light, vivid yellow-green. Relative luminance 0.250; OKLCH L 62.2% C 0.136 H 119.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7D9220
RGBrgb(125, 146, 32)
HSLhsl(71, 64%, 35%)
HSVhsv(71, 78%, 57%)
CMYKcmyk(14.4%, 0%, 78.1%, 42.7%)
CIE-LABlab(57.10, -22.73, 53.49)
CIE-LCHlch(57.10, 58.12, 113.03°)
OKLaboklab(62.24% -0.0677 0.1177)
OKLCHoklch(62.24% 0.136 119.9)
XYZxyz(18.9974, 25.0221, 5.1952)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9220 #352092
analogous
#926E20 #7D9220 #449220
triadic
#7D9220 #207D92 #92207D
tetradic
#7D9220 #20926E #352092 #922044
square
#7D9220 #20926E #352092 #922044
split-complementary
#7D9220 #204492 #6E2092
monochromatic
#272E0A #526015 #7D9220 #A8C42B #C1D953

Accessibility & contrast

On white

3.50
#7D9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#7D9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9220
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9220#FFFFFF#000000##000000
##7D92201.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8902
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#858A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d9220;
/* rgb */ color: rgb(125, 146, 32);
/* oklch */ color: oklch(62.2% 0.136 119.9);
Tailwind
colors: {
  custom: {
    50: '#a6b265',
    500: '#7d9220',
    950: '#000000',
  },
}
SCSS
$custom: #7d9220;
$custom-light: #a6b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9220",
  "rgb": {
    "r": 125,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 71.053,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62239,
    "c": 0.13573,
    "h": 119.9
  },
  "luminance": 0.25022
}

Semantic roles & 50–950 ramp

primary
#7D9220
secondary
#6551BD
accent
#41E75F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9220

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

Preview Lab → · Contrast checker → · Palette generator →

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