#7E941D#7E941D

#7E941D is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.8% C 0.139 H 120.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7E941D
RGBrgb(126, 148, 29)
HSLhsl(71, 67%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(14.9%, 0%, 80.4%, 42%)
CIE-LABlab(57.76, -23.44, 55.07)
CIE-LCHlch(57.76, 59.85, 113.06°)
OKLaboklab(62.78% -0.0699 0.1204)
OKLCHoklch(62.78% 0.139 120.1)
XYZxyz(19.4163, 25.7042, 5.1007)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E941D #331D94
analogous
#946E1D #7E941D #43941D
triadic
#7E941D #1D7E94 #941D7E
tetradic
#7E941D #1D946E #331D94 #941D43
square
#7E941D #1D946E #331D94 #941D43
split-complementary
#7E941D #1D4394 #6E1D94
monochromatic
#272E09 #526113 #7E941D #AAC727 #C2DC4F

Accessibility & contrast

On white

3.42
#7E941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7E941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E941D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E941D#FFFFFF#000000##000000
##7E941D1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e941d;
/* rgb */ color: rgb(126, 148, 29);
/* oklch */ color: oklch(62.8% 0.139 120.1);
Tailwind
colors: {
  custom: {
    50: '#a7b364',
    500: '#7e941d',
    950: '#000000',
  },
}
SCSS
$custom: #7e941d;
$custom-light: #a7b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7e941d",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 71.092,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62784,
    "c": 0.13925,
    "h": 120.1
  },
  "luminance": 0.25704
}

Semantic roles & 50–950 ramp

primary
#7E941D
secondary
#634EBF
accent
#3EEA5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E941D

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

Preview Lab → · Contrast checker → · Palette generator →

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