#7D941E#7D941E

#7D941E is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.7% C 0.139 H 120.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7D941E
RGBrgb(125, 148, 30)
HSLhsl(72, 66%, 35%)
HSVhsv(72, 80%, 58%)
CMYKcmyk(15.5%, 0%, 79.7%, 42%)
CIE-LABlab(57.69, -23.83, 54.67)
CIE-LCHlch(57.69, 59.64, 113.55°)
OKLaboklab(62.71% -0.0708 0.1198)
OKLCHoklch(62.71% 0.139 120.6)
XYZxyz(19.2821, 25.6336, 5.1600)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D941E #351E94
analogous
#94701E #7D941E #42941E
triadic
#7D941E #1E7D94 #941E7D
tetradic
#7D941E #1E9470 #351E94 #941E42
square
#7D941E #1E9470 #351E94 #941E42
split-complementary
#7D941E #1E4294 #701E94
monochromatic
#272E09 #526114 #7D941E #A8C728 #C1DC51

Accessibility & contrast

On white

3.43
#7D941E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#7D941E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D941E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D941E#FFFFFF#000000##000000
##7D941E1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#848C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d941e;
/* rgb */ color: rgb(125, 148, 30);
/* oklch */ color: oklch(62.7% 0.139 120.6);
Tailwind
colors: {
  custom: {
    50: '#a6b365',
    500: '#7d941e',
    950: '#000000',
  },
}
SCSS
$custom: #7d941e;
$custom-light: #a6b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7d941e",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 71.695,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62712,
    "c": 0.13918,
    "h": 120.6
  },
  "luminance": 0.25634
}

Semantic roles & 50–950 ramp

primary
#7D941E
secondary
#654FBF
accent
#3FE960
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D941E

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

Preview Lab → · Contrast checker → · Palette generator →

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