#7E941B#7E941B

#7E941B 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#7E941B
RGBrgb(126, 148, 27)
HSLhsl(71, 69%, 34%)
HSVhsv(71, 82%, 58%)
CMYKcmyk(14.9%, 0%, 81.8%, 42%)
CIE-LABlab(57.75, -23.52, 55.65)
CIE-LCHlch(57.75, 60.42, 112.91°)
OKLaboklab(62.77% -0.0703 0.1213)
OKLCHoklch(62.77% 0.14 120.1)
XYZxyz(19.3923, 25.6946, 4.9746)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E941B #311B94
analogous
#946E1B #7E941B #42941B
triadic
#7E941B #1B7E94 #941B7E
tetradic
#7E941B #1B946E #311B94 #941B42
square
#7E941B #1B946E #311B94 #941B42
split-complementary
#7E941B #1B4294 #6E1B94
monochromatic
#262C08 #526012 #7E941B #AAC824 #C3DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E941B#FFFFFF#000000##000000
##7E941B1.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: #7e941b;
/* rgb */ color: rgb(126, 148, 27);
/* oklch */ color: oklch(62.8% 0.140 120.1);
Tailwind
colors: {
  custom: {
    50: '#a7b364',
    500: '#7e941b',
    950: '#000000',
  },
}
SCSS
$custom: #7e941b;
$custom-light: #a7b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7e941b",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 70.909,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.1402,
    "h": 120.1
  },
  "luminance": 0.25695
}

Semantic roles & 50–950 ramp

primary
#7E941B
secondary
#604BC0
accent
#3CEC5C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E941B

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

Preview Lab → · Contrast checker → · Palette generator →

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