#7D9C2B#7D9C2B

#7D9C2B is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.141 H 123.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7D9C2B
RGBrgb(125, 156, 43)
HSLhsl(76, 57%, 39%)
HSVhsv(76, 72%, 61%)
CMYKcmyk(19.9%, 0%, 72.4%, 38.8%)
CIE-LABlab(60.17, -27.09, 52.54)
CIE-LCHlch(60.17, 59.12, 117.28°)
OKLaboklab(64.74% -0.0787 0.1176)
OKLCHoklch(64.74% 0.141 123.8)
XYZxyz(20.7822, 28.3112, 6.6548)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9C2B #4A2B9C
analogous
#9C832B #7D9C2B #459C2B
triadic
#7D9C2B #2B7D9C #9C2B7D
tetradic
#7D9C2B #2B9C83 #4A2B9C #9C2B45
square
#7D9C2B #2B9C83 #4A2B9C #9C2B45
split-complementary
#7D9C2B #2B459C #832B9C
monochromatic
#303C11 #576C1E #7D9C2B #A2C93B #B9D66B

Accessibility & contrast

On white

3.15
#7D9C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7D9C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9C2B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9C2B#FFFFFF#000000##000000
##7D9C2B1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59217
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#839486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d9c2b;
/* rgb */ color: rgb(125, 156, 43);
/* oklch */ color: oklch(64.7% 0.141 123.8);
Tailwind
colors: {
  custom: {
    50: '#a6b96c',
    500: '#7d9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #7d9c2b;
$custom-light: #a6b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9c2b",
  "rgb": {
    "r": 125,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 76.46,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6474,
    "c": 0.14146,
    "h": 123.8
  },
  "luminance": 0.28311
}

Semantic roles & 50–950 ramp

primary
#7D9C2B
secondary
#7E66BD
accent
#48E072
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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