#7D9C1E#7D9C1E

#7D9C1E is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.7% C 0.149 H 123.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7D9C1E
RGBrgb(125, 156, 30)
HSLhsl(75, 68%, 36%)
HSVhsv(75, 81%, 61%)
CMYKcmyk(19.9%, 0%, 80.8%, 38.8%)
CIE-LABlab(60.10, -27.76, 56.86)
CIE-LCHlch(60.10, 63.27, 116.02°)
OKLaboklab(64.66% -0.0816 0.1244)
OKLCHoklch(64.66% 0.149 123.2)
XYZxyz(20.5805, 28.2305, 5.5928)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9C1E #3D1E9C
analogous
#9C7C1E #7D9C1E #3E9C1E
triadic
#7D9C1E #1E7D9C #9C1E7D
tetradic
#7D9C1E #1E9C7C #3D1E9C #9C1E3E
square
#7D9C1E #1E9C7C #3D1E9C #9C1E3E
split-complementary
#7D9C1E #1E3E9C #7C1E9C
monochromatic
#2B350A #546914 #7D9C1E #A6CF28 #BDDE56

Accessibility & contrast

On white

3.16
#7D9C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7D9C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9C1E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9C1E#FFFFFF#000000##000000
##7D9C1E1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A1912B
Tritanopia (blue-blind)
#849485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d9c1e;
/* rgb */ color: rgb(125, 156, 30);
/* oklch */ color: oklch(64.7% 0.149 123.2);
Tailwind
colors: {
  custom: {
    50: '#a6b966',
    500: '#7d9c1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9c1e;
$custom-light: #a6b966;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9c1e",
  "rgb": {
    "r": 125,
    "g": 156,
    "b": 30
  },
  "hsl": {
    "h": 74.762,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64658,
    "c": 0.14879,
    "h": 123.2
  },
  "luminance": 0.28231
}

Semantic roles & 50–950 ramp

primary
#7D9C1E
secondary
#6F54C2
accent
#3DEB68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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