#7D9933#7D9933

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

Color values

HEX#7D9933
RGBrgb(125, 153, 51)
HSLhsl(76, 50%, 40%)
HSVhsv(76, 67%, 60%)
CMYKcmyk(18.3%, 0%, 66.7%, 40%)
CIE-LABlab(59.33, -25.09, 48.48)
CIE-LCHlch(59.33, 54.58, 117.36°)
OKLaboklab(64.08% -0.0724 0.1102)
OKLCHoklch(64.08% 0.132 123.3)
XYZxyz(20.4464, 27.3813, 7.3393)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9933 #4F3399
analogous
#998233 #7D9933 #4A9933
triadic
#7D9933 #337D99 #99337D
tetradic
#7D9933 #339982 #4F3399 #99334A
square
#7D9933 #339982 #4F3399 #99334A
split-complementary
#7D9933 #334A99 #823399
monochromatic
#323D14 #576B24 #7D9933 #A0C247 #B8D175

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9933#FFFFFF#000000##000000
##7D99331.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)
#A29025
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#839284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9933;
/* rgb */ color: rgb(125, 153, 51);
/* oklch */ color: oklch(64.1% 0.132 123.3);
Tailwind
colors: {
  custom: {
    50: '#a5b770',
    500: '#7d9933',
    950: '#000000',
  },
}
SCSS
$custom: #7d9933;
$custom-light: #a5b770;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9933",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 76.471,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.1319,
    "h": 123.3
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

primary
#7D9933
secondary
#836EB9
accent
#4EDA75
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9933

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

Preview Lab → · Contrast checker → · Palette generator →

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