#7E941F#7E941F

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

Color values

HEX#7E941F
RGBrgb(126, 148, 31)
HSLhsl(71, 65%, 35%)
HSVhsv(71, 79%, 58%)
CMYKcmyk(14.9%, 0%, 79.1%, 42%)
CIE-LABlab(57.77, -23.35, 54.46)
CIE-LCHlch(57.77, 59.25, 113.21°)
OKLaboklab(62.8% -0.0695 0.1195)
OKLCHoklch(62.8% 0.138 120.2)
XYZxyz(19.4418, 25.7144, 5.2352)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E941F #351F94
analogous
#946F1F #7E941F #44941F
triadic
#7E941F #1F7E94 #941F7E
tetradic
#7E941F #1F946F #351F94 #941F44
square
#7E941F #1F946F #351F94 #941F44
split-complementary
#7E941F #1F4494 #6F1F94
monochromatic
#282F0A #536114 #7E941F #A9C72A #C1DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e941f;
/* rgb */ color: rgb(126, 148, 31);
/* oklch */ color: oklch(62.8% 0.138 120.2);
Tailwind
colors: {
  custom: {
    50: '#a7b365',
    500: '#7e941f',
    950: '#000000',
  },
}
SCSS
$custom: #7e941f;
$custom-light: #a7b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7e941f",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 71.282,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62795,
    "c": 0.13823,
    "h": 120.2
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

primary
#7E941F
secondary
#6551BE
accent
#3FE85F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E941F

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

Preview Lab → · Contrast checker → · Palette generator →

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