#7E941A#7E941A

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

Color values

HEX#7E941A
RGBrgb(126, 148, 26)
HSLhsl(71, 70%, 34%)
HSVhsv(71, 82%, 58%)
CMYKcmyk(14.9%, 0%, 82.4%, 42%)
CIE-LABlab(57.74, -23.56, 55.93)
CIE-LCHlch(57.74, 60.69, 112.84°)
OKLaboklab(62.77% -0.0704 0.1218)
OKLCHoklch(62.77% 0.141 120.1)
XYZxyz(19.3809, 25.6901, 4.9148)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E941A #301A94
analogous
#946D1A #7E941A #41941A
triadic
#7E941A #1A7E94 #941A7E
tetradic
#7E941A #1A946D #301A94 #941A41
square
#7E941A #1A946D #301A94 #941A41
split-complementary
#7E941A #1A4194 #6D1A94
monochromatic
#252C08 #526011 #7E941A #AAC823 #C4DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E941A#FFFFFF#000000##000000
##7E941A1.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)
#9B8B27
Tritanopia (blue-blind)
#868C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e941a;
/* rgb */ color: rgb(126, 148, 26);
/* oklch */ color: oklch(62.8% 0.141 120.1);
Tailwind
colors: {
  custom: {
    50: '#a7b363',
    500: '#7e941a',
    950: '#000000',
  },
}
SCSS
$custom: #7e941a;
$custom-light: #a7b363;
$custom-dark: #000000;
JSON
{
  "hex": "#7e941a",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 70.82,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62769,
    "c": 0.14066,
    "h": 120.1
  },
  "luminance": 0.2569
}

Semantic roles & 50–950 ramp

primary
#7E941A
secondary
#5F49C1
accent
#3BED5B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E941A

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

Preview Lab → · Contrast checker → · Palette generator →

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