#7D9A1E#7D9A1E

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

Color values

HEX#7D9A1E
RGBrgb(125, 154, 30)
HSLhsl(74, 67%, 36%)
HSVhsv(74, 81%, 60%)
CMYKcmyk(18.8%, 0%, 80.5%, 39.6%)
CIE-LABlab(59.49, -26.79, 56.31)
CIE-LCHlch(59.49, 62.36, 115.44°)
OKLaboklab(64.17% -0.0789 0.1233)
OKLCHoklch(64.17% 0.146 122.6)
XYZxyz(20.2477, 27.5648, 5.4819)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9A1E #3B1E9A
analogous
#9A791E #7D9A1E #3F9A1E
triadic
#7D9A1E #1E7D9A #9A1E7D
tetradic
#7D9A1E #1E9A79 #3B1E9A #9A1E3F
square
#7D9A1E #1E9A79 #3B1E9A #9A1E3F
split-complementary
#7D9A1E #1E3F9A #791E9A
monochromatic
#2A340A #536714 #7D9A1E #A7CD28 #BEDE55

Accessibility & contrast

On white

3.22
#7D9A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9A1E#FFFFFF#000000##000000
##7D9A1E1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9a1e;
/* rgb */ color: rgb(125, 154, 30);
/* oklch */ color: oklch(64.2% 0.146 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b766',
    500: '#7d9a1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9a1e;
$custom-light: #a6b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9a1e",
  "rgb": {
    "r": 125,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 74.032,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64171,
    "c": 0.14639,
    "h": 122.6
  },
  "luminance": 0.27565
}

Semantic roles & 50–950 ramp

primary
#7D9A1E
secondary
#6C53C1
accent
#3EEA66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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