#7D9222#7D9222

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

Color values

HEX#7D9222
RGBrgb(125, 146, 34)
HSLhsl(71, 62%, 35%)
HSVhsv(71, 77%, 57%)
CMYKcmyk(14.4%, 0%, 76.7%, 42.7%)
CIE-LABlab(57.11, -22.64, 52.83)
CIE-LCHlch(57.11, 57.47, 113.19°)
OKLaboklab(62.25% -0.0672 0.1166)
OKLCHoklch(62.25% 0.135 120)
XYZxyz(19.0254, 25.0333, 5.3427)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9222 #372292
analogous
#926F22 #7D9222 #459222
triadic
#7D9222 #227D92 #92227D
tetradic
#7D9222 #22926F #372292 #922245
square
#7D9222 #22926F #372292 #922245
split-complementary
#7D9222 #224592 #6F2292
monochromatic
#282F0B #526016 #7D9222 #A7C42E #C0D857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9222#FFFFFF#000000##000000
##7D92221.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)
#9C8907
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#848A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d9222;
/* rgb */ color: rgb(125, 146, 34);
/* oklch */ color: oklch(62.3% 0.135 120.0);
Tailwind
colors: {
  custom: {
    50: '#a6b266',
    500: '#7d9222',
    950: '#000000',
  },
}
SCSS
$custom: #7d9222;
$custom-light: #a6b266;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9222",
  "rgb": {
    "r": 125,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 71.25,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.13461,
    "h": 120
  },
  "luminance": 0.25033
}

Semantic roles & 50–950 ramp

primary
#7D9222
secondary
#6754BC
accent
#43E561
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9222

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

Preview Lab → · Contrast checker → · Palette generator →

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