#7D9A22#7D9A22

#7D9A22 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.144 H 122.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7D9A22
RGBrgb(125, 154, 34)
HSLhsl(75, 64%, 37%)
HSVhsv(75, 78%, 60%)
CMYKcmyk(18.8%, 0%, 77.9%, 39.6%)
CIE-LABlab(59.51, -26.60, 55.08)
CIE-LCHlch(59.51, 61.17, 115.78°)
OKLaboklab(64.19% -0.0781 0.1214)
OKLCHoklch(64.19% 0.144 122.8)
XYZxyz(20.3021, 27.5866, 5.7682)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9A22 #3F229A
analogous
#9A7B22 #7D9A22 #419A22
triadic
#7D9A22 #227D9A #9A227D
tetradic
#7D9A22 #229A7B #3F229A #9A2241
square
#7D9A22 #229A7B #3F229A #9A2241
split-complementary
#7D9A22 #22419A #7B229A
monochromatic
#2C360C #546817 #7D9A22 #A6CC2D #BCDB5B

Accessibility & contrast

On white

3.22
#7D9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7D9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9A22
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9A22#FFFFFF#000000##000000
##7D9A221.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39002
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#849284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9a22;
/* rgb */ color: rgb(125, 154, 34);
/* oklch */ color: oklch(64.2% 0.144 122.8);
Tailwind
colors: {
  custom: {
    50: '#a6b767',
    500: '#7d9a22',
    950: '#000000',
  },
}
SCSS
$custom: #7d9a22;
$custom-light: #a6b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9a22",
  "rgb": {
    "r": 125,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 74.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.14434,
    "h": 122.8
  },
  "luminance": 0.27587
}

Semantic roles & 50–950 ramp

primary
#7D9A22
secondary
#7158BF
accent
#41E769
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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