#7D9934#7D9934

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

Color values

HEX#7D9934
RGBrgb(125, 153, 52)
HSLhsl(77, 49%, 40%)
HSVhsv(77, 66%, 60%)
CMYKcmyk(18.3%, 0%, 66%, 40%)
CIE-LABlab(59.33, -25.01, 48.06)
CIE-LCHlch(59.33, 54.18, 117.50°)
OKLaboklab(64.09% -0.0721 0.1095)
OKLCHoklch(64.09% 0.131 123.4)
XYZxyz(20.4687, 27.3903, 7.4566)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9934 #503499
analogous
#998334 #7D9934 #4A9934
triadic
#7D9934 #347D99 #99347D
tetradic
#7D9934 #349983 #503499 #99344A
square
#7D9934 #349983 #503499 #99344A
split-complementary
#7D9934 #344A99 #833499
monochromatic
#323E15 #586B24 #7D9934 #A0C149 #B8D177

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9934#FFFFFF#000000##000000
##7D99341.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)
#A29027
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#839284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9934;
/* rgb */ color: rgb(125, 153, 52);
/* oklch */ color: oklch(64.1% 0.131 123.4);
Tailwind
colors: {
  custom: {
    50: '#a5b771',
    500: '#7d9934',
    950: '#000000',
  },
}
SCSS
$custom: #7d9934;
$custom-light: #a5b771;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9934",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 76.634,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.13112,
    "h": 123.4
  },
  "luminance": 0.2739
}

Semantic roles & 50–950 ramp

primary
#7D9934
secondary
#8470B9
accent
#4FD975
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9934

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

Preview Lab → · Contrast checker → · Palette generator →

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