#7D9B1E#7D9B1E

#7D9B1E is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.148 H 122.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D9B1E
RGBrgb(125, 155, 30)
HSLhsl(74, 68%, 36%)
HSVhsv(74, 81%, 61%)
CMYKcmyk(19.4%, 0%, 80.6%, 39.2%)
CIE-LABlab(59.79, -27.27, 56.58)
CIE-LCHlch(59.79, 62.81, 115.73°)
OKLaboklab(64.41% -0.0802 0.1239)
OKLCHoklch(64.41% 0.148 122.9)
XYZxyz(20.4134, 27.8963, 5.5371)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9B1E #3C1E9B
analogous
#9B7B1E #7D9B1E #3F9B1E
triadic
#7D9B1E #1E7D9B #9B1E7D
tetradic
#7D9B1E #1E9B7B #3C1E9B #9B1E3F
square
#7D9B1E #1E9B7B #3C1E9B #9B1E3F
split-complementary
#7D9B1E #1E3F9B #7B1E9B
monochromatic
#2A340A #546814 #7D9B1E #A6CE28 #BDDE55

Accessibility & contrast

On white

3.19
#7D9B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7D9B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9B1E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9B1E#FFFFFF#000000##000000
##7D9B1E1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#849384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d9b1e;
/* rgb */ color: rgb(125, 155, 30);
/* oklch */ color: oklch(64.4% 0.148 122.9);
Tailwind
colors: {
  custom: {
    50: '#a6b866',
    500: '#7d9b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9b1e;
$custom-light: #a6b866;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9b1e",
  "rgb": {
    "r": 125,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 74.4,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64414,
    "c": 0.14759,
    "h": 122.9
  },
  "luminance": 0.27896
}

Semantic roles & 50–950 ramp

primary
#7D9B1E
secondary
#6E53C2
accent
#3DEA67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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