#7E941C#7E941C

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

Color values

HEX#7E941C
RGBrgb(126, 148, 28)
HSLhsl(71, 68%, 35%)
HSVhsv(71, 81%, 58%)
CMYKcmyk(14.9%, 0%, 81.1%, 42%)
CIE-LABlab(57.75, -23.48, 55.36)
CIE-LCHlch(57.75, 60.13, 112.98°)
OKLaboklab(62.78% -0.0701 0.1209)
OKLCHoklch(62.78% 0.14 120.1)
XYZxyz(19.4041, 25.6993, 5.0366)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E941C #321C94
analogous
#946E1C #7E941C #42941C
triadic
#7E941C #1C7E94 #941C7E
tetradic
#7E941C #1C946E #321C94 #941C42
square
#7E941C #1C946E #321C94 #941C42
split-complementary
#7E941C #1C4294 #6E1C94
monochromatic
#262D09 #526112 #7E941C #AAC726 #C3DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e941c;
/* rgb */ color: rgb(126, 148, 28);
/* oklch */ color: oklch(62.8% 0.140 120.1);
Tailwind
colors: {
  custom: {
    50: '#a7b364',
    500: '#7e941c',
    950: '#000000',
  },
}
SCSS
$custom: #7e941c;
$custom-light: #a7b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7e941c",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 71,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.13973,
    "h": 120.1
  },
  "luminance": 0.25699
}

Semantic roles & 50–950 ramp

primary
#7E941C
secondary
#614CC0
accent
#3DEB5D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E941C

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

Preview Lab → · Contrast checker → · Palette generator →

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