#7D9E1A#7D9E1A

#7D9E1A is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.153 H 123.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7D9E1A
RGBrgb(125, 158, 26)
HSLhsl(75, 72%, 36%)
HSVhsv(75, 84%, 62%)
CMYKcmyk(20.9%, 0%, 83.5%, 38%)
CIE-LABlab(60.68, -28.88, 58.49)
CIE-LCHlch(60.68, 65.23, 116.28°)
OKLaboklab(65.13% -0.0849 0.1273)
OKLCHoklch(65.13% 0.153 123.7)
XYZxyz(20.8710, 28.8881, 5.4535)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9E1A #3B1A9E
analogous
#9E7D1A #7D9E1A #3B9E1A
triadic
#7D9E1A #1A7D9E #9E1A7D
tetradic
#7D9E1A #1A9E7D #3B1A9E #9E1A3B
square
#7D9E1A #1A9E7D #3B1A9E #9E1A3B
split-complementary
#7D9E1A #1A3B9E #7D1A9E
monochromatic
#2A3509 #536911 #7D9E1A #A7D323 #BEE250

Accessibility & contrast

On white

3.10
#7D9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#7D9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9E1A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9E1A#FFFFFF#000000##000000
##7D9E1A1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#849687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9e1a;
/* rgb */ color: rgb(125, 158, 26);
/* oklch */ color: oklch(65.1% 0.153 123.7);
Tailwind
colors: {
  custom: {
    50: '#a7ba65',
    500: '#7d9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d9e1a;
$custom-light: #a7ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9e1a",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 75,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65127,
    "c": 0.15297,
    "h": 123.7
  },
  "luminance": 0.28888
}

Semantic roles & 50–950 ramp

primary
#7D9E1A
secondary
#6C4FC5
accent
#39EE67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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