#7D9221#7D9221

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

Color values

HEX#7D9221
RGBrgb(125, 146, 33)
HSLhsl(71, 63%, 35%)
HSVhsv(71, 77%, 57%)
CMYKcmyk(14.4%, 0%, 77.4%, 42.7%)
CIE-LABlab(57.10, -22.69, 53.16)
CIE-LCHlch(57.10, 57.80, 113.11°)
OKLaboklab(62.25% -0.0674 0.1171)
OKLCHoklch(62.25% 0.135 119.9)
XYZxyz(19.0112, 25.0276, 5.2678)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9221 #362192
analogous
#926E21 #7D9221 #459221
triadic
#7D9221 #217D92 #92217D
tetradic
#7D9221 #21926E #362192 #922145
square
#7D9221 #21926E #362192 #922145
split-complementary
#7D9221 #214592 #6E2192
monochromatic
#282E0A #526016 #7D9221 #A8C42C #C0D955

Accessibility & contrast

On white

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

On black

6.01
#7D9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9221
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9221#FFFFFF#000000##000000
##7D92211.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9221;
/* rgb */ color: rgb(125, 146, 33);
/* oklch */ color: oklch(62.2% 0.135 119.9);
Tailwind
colors: {
  custom: {
    50: '#a6b266',
    500: '#7d9221',
    950: '#000000',
  },
}
SCSS
$custom: #7d9221;
$custom-light: #a6b266;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9221",
  "rgb": {
    "r": 125,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 71.15,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62245,
    "c": 0.13517,
    "h": 119.9
  },
  "luminance": 0.25028
}

Semantic roles & 50–950 ramp

primary
#7D9221
secondary
#6653BC
accent
#42E660
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9221

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

Preview Lab → · Contrast checker → · Palette generator →

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