#7D9822#7D9822

#7D9822 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.142 H 122.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7D9822
RGBrgb(125, 152, 34)
HSLhsl(74, 63%, 36%)
HSVhsv(74, 78%, 60%)
CMYKcmyk(17.8%, 0%, 77.6%, 40.4%)
CIE-LABlab(58.91, -25.62, 54.52)
CIE-LCHlch(58.91, 60.24, 115.17°)
OKLaboklab(63.71% -0.0754 0.1202)
OKLCHoklch(63.71% 0.142 122.1)
XYZxyz(19.9747, 26.9319, 5.6591)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9822 #3D2298
analogous
#987822 #7D9822 #429822
triadic
#7D9822 #227D98 #98227D
tetradic
#7D9822 #229878 #3D2298 #982242
square
#7D9822 #229878 #3D2298 #982242
split-complementary
#7D9822 #224298 #782298
monochromatic
#2B340C #546617 #7D9822 #A6CA2D #BDDA5A

Accessibility & contrast

On white

3.29
#7D9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#7D9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9822
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9822#FFFFFF#000000##000000
##7D98221.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E03
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#849082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9822;
/* rgb */ color: rgb(125, 152, 34);
/* oklch */ color: oklch(63.7% 0.142 122.1);
Tailwind
colors: {
  custom: {
    50: '#a6b667',
    500: '#7d9822',
    950: '#000000',
  },
}
SCSS
$custom: #7d9822;
$custom-light: #a6b667;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9822",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 73.729,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63707,
    "c": 0.14189,
    "h": 122.1
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#7D9822
secondary
#6F57BE
accent
#41E667
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9822

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

Preview Lab → · Contrast checker → · Palette generator →

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