#7D9922#7D9922

#7D9922 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.143 H 122.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7D9922
RGBrgb(125, 153, 34)
HSLhsl(74, 64%, 37%)
HSVhsv(74, 78%, 60%)
CMYKcmyk(18.3%, 0%, 77.8%, 40%)
CIE-LABlab(59.21, -26.11, 54.80)
CIE-LCHlch(59.21, 60.70, 115.48°)
OKLaboklab(63.95% -0.0768 0.1208)
OKLCHoklch(63.95% 0.143 122.4)
XYZxyz(20.1377, 27.2579, 5.7135)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9922 #3E2299
analogous
#997A22 #7D9922 #429922
triadic
#7D9922 #227D99 #99227D
tetradic
#7D9922 #22997A #3E2299 #992242
square
#7D9922 #22997A #3E2299 #992242
split-complementary
#7D9922 #224299 #7A2299
monochromatic
#2B350C #546717 #7D9922 #A6CB2D #BCDB5B

Accessibility & contrast

On white

3.26
#7D9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7D9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9922
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9922#FFFFFF#000000##000000
##7D99221.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F02
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#849183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9922;
/* rgb */ color: rgb(125, 153, 34);
/* oklch */ color: oklch(63.9% 0.143 122.4);
Tailwind
colors: {
  custom: {
    50: '#a6b767',
    500: '#7d9922',
    950: '#000000',
  },
}
SCSS
$custom: #7d9922;
$custom-light: #a6b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9922",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 74.118,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6395,
    "c": 0.14312,
    "h": 122.4
  },
  "luminance": 0.27258
}

Semantic roles & 50–950 ramp

primary
#7D9922
secondary
#7058BF
accent
#41E768
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9922

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

Preview Lab → · Contrast checker → · Palette generator →

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