#7D9B2D#7D9B2D

#7D9B2D is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.139 H 123.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7D9B2D
RGBrgb(125, 155, 45)
HSLhsl(76, 55%, 39%)
HSVhsv(76, 71%, 61%)
CMYKcmyk(19.4%, 0%, 71%, 39.2%)
CIE-LABlab(59.88, -26.48, 51.49)
CIE-LCHlch(59.88, 57.90, 117.21°)
OKLaboklab(64.51% -0.0768 0.1157)
OKLCHoklch(64.51% 0.139 123.6)
XYZxyz(20.6527, 27.9920, 6.7971)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9B2D #4B2D9B
analogous
#9B822D #7D9B2D #469B2D
triadic
#7D9B2D #2D7D9B #9B2D7D
tetradic
#7D9B2D #2D9B82 #4B2D9B #9B2D46
square
#7D9B2D #2D9B82 #4B2D9B #9B2D46
split-complementary
#7D9B2D #2D469B #822D9B
monochromatic
#313C11 #576C1F #7D9B2D #A2C73E #B9D56E

Accessibility & contrast

On white

3.18
#7D9B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7D9B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9B2D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9B2D#FFFFFF#000000##000000
##7D9B2D1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911B
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#839385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d9b2d;
/* rgb */ color: rgb(125, 155, 45);
/* oklch */ color: oklch(64.5% 0.139 123.6);
Tailwind
colors: {
  custom: {
    50: '#a6b86d',
    500: '#7d9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d9b2d;
$custom-light: #a6b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9b2d",
  "rgb": {
    "r": 125,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 76.364,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.13885,
    "h": 123.6
  },
  "luminance": 0.27992
}

Semantic roles & 50–950 ramp

primary
#7D9B2D
secondary
#7F68BC
accent
#49DE72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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