#7D9A1A#7D9A1A

#7D9A1A is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.148 H 122.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7D9A1A
RGBrgb(125, 154, 26)
HSLhsl(74, 71%, 35%)
HSVhsv(74, 83%, 60%)
CMYKcmyk(18.8%, 0%, 83.1%, 39.6%)
CIE-LABlab(59.48, -26.95, 57.43)
CIE-LCHlch(59.48, 63.44, 115.14°)
OKLaboklab(64.15% -0.0796 0.125)
OKLCHoklch(64.15% 0.148 122.5)
XYZxyz(20.1998, 27.5457, 5.2298)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9A1A #371A9A
analogous
#9A771A #7D9A1A #3D9A1A
triadic
#7D9A1A #1A7D9A #9A1A7D
tetradic
#7D9A1A #1A9A77 #371A9A #9A1A3D
square
#7D9A1A #1A9A77 #371A9A #9A1A3D
split-complementary
#7D9A1A #1A3D9A #771A9A
monochromatic
#283108 #526611 #7D9A1A #A7CE23 #C0E14D

Accessibility & contrast

On white

3.23
#7D9A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7D9A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9A1A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9A1A#FFFFFF#000000##000000
##7D9A1A1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#849283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9a1a;
/* rgb */ color: rgb(125, 154, 26);
/* oklch */ color: oklch(64.2% 0.148 122.5);
Tailwind
colors: {
  custom: {
    50: '#a6b764',
    500: '#7d9a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d9a1a;
$custom-light: #a6b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9a1a",
  "rgb": {
    "r": 125,
    "g": 154,
    "b": 26
  },
  "hsl": {
    "h": 73.594,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64151,
    "c": 0.1482,
    "h": 122.5
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

primary
#7D9A1A
secondary
#674DC3
accent
#3AEE63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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