#7D992C#7D992C

#7D992C is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.137 H 122.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7D992C
RGBrgb(125, 153, 44)
HSLhsl(75, 55%, 39%)
HSVhsv(75, 71%, 60%)
CMYKcmyk(18.3%, 0%, 71.2%, 40%)
CIE-LABlab(59.27, -25.56, 51.27)
CIE-LCHlch(59.27, 57.29, 116.50°)
OKLaboklab(64.02% -0.0744 0.115)
OKLCHoklch(64.02% 0.137 122.9)
XYZxyz(20.3035, 27.3242, 6.5868)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D992C #482C99
analogous
#997E2C #7D992C #46992C
triadic
#7D992C #2C7D99 #992C7D
tetradic
#7D992C #2C997E #482C99 #992C46
square
#7D992C #2C997E #482C99 #992C46
split-complementary
#7D992C #2C4699 #7E2C99
monochromatic
#2F3A11 #56691E #7D992C #A3C73B #B9D46B

Accessibility & contrast

On white

3.25
#7D992C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#7D992C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D992C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D992C#FFFFFF#000000##000000
##7D992C1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1A
Deuteranopia (green-blind)
#9E8F35
Tritanopia (blue-blind)
#839184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d992c;
/* rgb */ color: rgb(125, 153, 44);
/* oklch */ color: oklch(64.0% 0.137 122.9);
Tailwind
colors: {
  custom: {
    50: '#a6b76c',
    500: '#7d992c',
    950: '#000000',
  },
}
SCSS
$custom: #7d992c;
$custom-light: #a6b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d992c",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 75.413,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64018,
    "c": 0.13699,
    "h": 122.9
  },
  "luminance": 0.27324
}

Semantic roles & 50–950 ramp

primary
#7D992C
secondary
#7C66BB
accent
#49DF70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D992C

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

Preview Lab → · Contrast checker → · Palette generator →

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