#7E9316#7E9316

#7E9316 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.141 H 119.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7E9316
RGBrgb(126, 147, 22)
HSLhsl(70, 74%, 33%)
HSVhsv(70, 85%, 58%)
CMYKcmyk(14.3%, 0%, 85%, 42.4%)
CIE-LABlab(57.43, -23.20, 56.72)
CIE-LCHlch(57.43, 61.28, 112.25°)
OKLaboklab(62.51% -0.0697 0.1228)
OKLCHoklch(62.51% 0.141 119.6)
XYZxyz(19.1832, 25.3611, 4.6435)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9316 #2B1693
analogous
#936916 #7E9316 #3F9316
triadic
#7E9316 #167E93 #93167E
tetradic
#7E9316 #169369 #2B1693 #93163F
square
#7E9316 #169369 #2B1693 #93163F
split-complementary
#7E9316 #163F93 #691693
monochromatic
#232906 #505E0E #7E9316 #ACC81E #C7E341

Accessibility & contrast

On white

3.46
#7E9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7E9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9316
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9316#FFFFFF#000000##000000
##7E93161.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9B8A24
Tritanopia (blue-blind)
#868B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9316;
/* rgb */ color: rgb(126, 147, 22);
/* oklch */ color: oklch(62.5% 0.141 119.6);
Tailwind
colors: {
  custom: {
    50: '#a7b262',
    500: '#7e9316',
    950: '#000000',
  },
}
SCSS
$custom: #7e9316;
$custom-light: #a7b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9316",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 70.08,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62509,
    "c": 0.14118,
    "h": 119.6
  },
  "luminance": 0.25361
}

Semantic roles & 50–950 ramp

primary
#7E9316
secondary
#5842C3
accent
#37F156
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9316

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

Preview Lab → · Contrast checker → · Palette generator →

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