#7D9C20#7D9C20

#7D9C20 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.7% C 0.148 H 123.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7D9C20
RGBrgb(125, 156, 32)
HSLhsl(75, 66%, 37%)
HSVhsv(75, 79%, 61%)
CMYKcmyk(19.9%, 0%, 79.5%, 38.8%)
CIE-LABlab(60.11, -27.67, 56.26)
CIE-LCHlch(60.11, 62.70, 116.19°)
OKLaboklab(64.67% -0.0812 0.1235)
OKLCHoklch(64.67% 0.148 123.3)
XYZxyz(20.6069, 28.2411, 5.7317)
Luminance0.2824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9C20 #3F209C
analogous
#9C7D20 #7D9C20 #3F9C20
triadic
#7D9C20 #207D9C #9C207D
tetradic
#7D9C20 #209C7D #3F209C #9C203F
square
#7D9C20 #209C7D #3F209C #9C203F
split-complementary
#7D9C20 #203F9C #7D209C
monochromatic
#2C360B #546916 #7D9C20 #A6CF2A #BCDD59

Accessibility & contrast

On white

3.16
#7D9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7D9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9C20
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9C20#FFFFFF#000000##000000
##7D9C201.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#849485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d9c20;
/* rgb */ color: rgb(125, 156, 32);
/* oklch */ color: oklch(64.7% 0.148 123.3);
Tailwind
colors: {
  custom: {
    50: '#a6b967',
    500: '#7d9c20',
    950: '#000000',
  },
}
SCSS
$custom: #7d9c20;
$custom-light: #a6b967;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9c20",
  "rgb": {
    "r": 125,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 75,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.14781,
    "h": 123.3
  },
  "luminance": 0.28241
}

Semantic roles & 50–950 ramp

primary
#7D9C20
secondary
#7157C1
accent
#3FE969
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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