#7D9D22#7D9D22

#7D9D22 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.148 H 123.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D9D22
RGBrgb(125, 157, 34)
HSLhsl(76, 64%, 37%)
HSVhsv(76, 78%, 62%)
CMYKcmyk(20.4%, 0%, 78.3%, 38.4%)
CIE-LABlab(60.42, -28.06, 55.92)
CIE-LCHlch(60.42, 62.57, 116.65°)
OKLaboklab(64.92% -0.0821 0.1231)
OKLCHoklch(64.92% 0.148 123.7)
XYZxyz(20.8034, 28.5893, 5.9354)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D22 #42229D
analogous
#9D8022 #7D9D22 #3F9D22
triadic
#7D9D22 #227D9D #9D227D
tetradic
#7D9D22 #229D80 #42229D #9D223F
square
#7D9D22 #229D80 #42229D #9D223F
split-complementary
#7D9D22 #223F9D #80229D
monochromatic
#2D380C #556B17 #7D9D22 #A5CF2D #BBDC5D

Accessibility & contrast

On white

3.13
#7D9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7D9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D22
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D22#FFFFFF#000000##000000
##7D9D221.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#839586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d22;
/* rgb */ color: rgb(125, 157, 34);
/* oklch */ color: oklch(64.9% 0.148 123.7);
Tailwind
colors: {
  custom: {
    50: '#a6ba68',
    500: '#7d9d22',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d22;
$custom-light: #a6ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d22",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 75.61,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64924,
    "c": 0.148,
    "h": 123.7
  },
  "luminance": 0.28589
}

Semantic roles & 50–950 ramp

primary
#7D9D22
secondary
#755AC1
accent
#40E76C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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