#7D9621#7D9621

#7D9621 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.2% C 0.140 H 121.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7D9621
RGBrgb(125, 150, 33)
HSLhsl(73, 64%, 36%)
HSVhsv(73, 78%, 59%)
CMYKcmyk(16.7%, 0%, 78%, 41.2%)
CIE-LABlab(58.30, -24.68, 54.28)
CIE-LCHlch(58.30, 59.63, 114.45°)
OKLaboklab(63.22% -0.0729 0.1195)
OKLCHoklch(63.22% 0.14 121.4)
XYZxyz(19.6386, 26.2825, 5.4770)
Luminance0.2628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9621 #3A2196
analogous
#967421 #7D9621 #429621
triadic
#7D9621 #217D96 #96217D
tetradic
#7D9621 #219674 #3A2196 #962142
square
#7D9621 #219674 #3A2196 #962142
split-complementary
#7D9621 #214296 #742196
monochromatic
#29320B #536416 #7D9621 #A7C82C #BEDA57

Accessibility & contrast

On white

3.36
#7D9621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#7D9621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9621
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9621#FFFFFF#000000##000000
##7D96211.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D02
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#848E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d9621;
/* rgb */ color: rgb(125, 150, 33);
/* oklch */ color: oklch(63.2% 0.140 121.4);
Tailwind
colors: {
  custom: {
    50: '#a6b466',
    500: '#7d9621',
    950: '#000000',
  },
}
SCSS
$custom: #7d9621;
$custom-light: #a6b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9621",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 33
  },
  "hsl": {
    "h": 72.821,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63215,
    "c": 0.14001,
    "h": 121.4
  },
  "luminance": 0.26282
}

Semantic roles & 50–950 ramp

primary
#7D9621
secondary
#6B55BE
accent
#41E764
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9621

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

Preview Lab → · Contrast checker → · Palette generator →

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