#7D9936#7D9936

#7D9936 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.130 H 123.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7D9936
RGBrgb(125, 153, 54)
HSLhsl(77, 48%, 41%)
HSVhsv(77, 65%, 60%)
CMYKcmyk(18.3%, 0%, 64.7%, 40%)
CIE-LABlab(59.35, -24.86, 47.21)
CIE-LCHlch(59.35, 53.36, 117.77°)
OKLaboklab(64.11% -0.0715 0.108)
OKLCHoklch(64.11% 0.13 123.5)
XYZxyz(20.5147, 27.4087, 7.6989)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9936 #523699
analogous
#998336 #7D9936 #4B9936
triadic
#7D9936 #367D99 #99367D
tetradic
#7D9936 #369983 #523699 #99364B
square
#7D9936 #369983 #523699 #99364B
split-complementary
#7D9936 #364B99 #833699
monochromatic
#333F16 #586C26 #7D9936 #9FC04C #B7D07A

Accessibility & contrast

On white

3.24
#7D9936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7D9936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9936
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9936#FFFFFF#000000##000000
##7D99361.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902A
Deuteranopia (green-blind)
#9E8F3D
Tritanopia (blue-blind)
#839284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9936;
/* rgb */ color: rgb(125, 153, 54);
/* oklch */ color: oklch(64.1% 0.130 123.5);
Tailwind
colors: {
  custom: {
    50: '#a5b772',
    500: '#7d9936',
    950: '#000000',
  },
}
SCSS
$custom: #7d9936;
$custom-light: #a5b772;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9936",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 76.97,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64106,
    "c": 0.12952,
    "h": 123.5
  },
  "luminance": 0.27409
}

Semantic roles & 50–950 ramp

primary
#7D9936
secondary
#8672B9
accent
#50D777
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9936

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

Preview Lab → · Contrast checker → · Palette generator →

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