#7E911A#7E911A

#7E911A is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.0% C 0.137 H 118.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7E911A
RGBrgb(126, 145, 26)
HSLhsl(70, 70%, 34%)
HSVhsv(70, 82%, 57%)
CMYKcmyk(13.1%, 0%, 82.1%, 43.1%)
CIE-LABlab(56.84, -22.05, 55.13)
CIE-LCHlch(56.84, 59.38, 111.80°)
OKLaboklab(62.04% -0.0663 0.1201)
OKLCHoklch(62.04% 0.137 118.9)
XYZxyz(18.9165, 24.7611, 4.7599)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E911A #2D1A91
analogous
#91681A #7E911A #42911A
triadic
#7E911A #1A7E91 #911A7E
tetradic
#7E911A #1A9168 #2D1A91 #911A42
square
#7E911A #1A9168 #2D1A91 #911A42
split-complementary
#7E911A #1A4291 #681A91
monochromatic
#242907 #515D11 #7E911A #ABC523 #C6DE47

Accessibility & contrast

On white

3.53
#7E911A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#7E911A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E911A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E911A#FFFFFF#000000##000000
##7E911A1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#86897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e911a;
/* rgb */ color: rgb(126, 145, 26);
/* oklch */ color: oklch(62.0% 0.137 118.9);
Tailwind
colors: {
  custom: {
    50: '#a7b163',
    500: '#7e911a',
    950: '#000000',
  },
}
SCSS
$custom: #7e911a;
$custom-light: #a7b163;
$custom-dark: #000000;
JSON
{
  "hex": "#7e911a",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 26
  },
  "hsl": {
    "h": 69.58,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62043,
    "c": 0.13715,
    "h": 118.9
  },
  "luminance": 0.24761
}

Semantic roles & 50–950 ramp

primary
#7E911A
secondary
#5A47C0
accent
#3BEC58
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E911A

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

Preview Lab → · Contrast checker → · Palette generator →

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