#7E9319#7E9319

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

Color values

HEX#7E9319
RGBrgb(126, 147, 25)
HSLhsl(70, 71%, 34%)
HSVhsv(70, 83%, 58%)
CMYKcmyk(14.3%, 0%, 83%, 42.4%)
CIE-LABlab(57.44, -23.09, 55.94)
CIE-LCHlch(57.44, 60.52, 112.43°)
OKLaboklab(62.52% -0.0692 0.1216)
OKLCHoklch(62.52% 0.14 119.7)
XYZxyz(19.2138, 25.3733, 4.8049)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9319 #2E1993
analogous
#936B19 #7E9319 #419319
triadic
#7E9319 #197E93 #93197E
tetradic
#7E9319 #19936B #2E1993 #931941
square
#7E9319 #19936B #2E1993 #931941
split-complementary
#7E9319 #194193 #6B1993
monochromatic
#242A07 #515F10 #7E9319 #ABC722 #C5E047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9319#FFFFFF#000000##000000
##7E93191.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)
#9B8A26
Tritanopia (blue-blind)
#868B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9319;
/* rgb */ color: rgb(126, 147, 25);
/* oklch */ color: oklch(62.5% 0.140 119.7);
Tailwind
colors: {
  custom: {
    50: '#a7b263',
    500: '#7e9319',
    950: '#000000',
  },
}
SCSS
$custom: #7e9319;
$custom-light: #a7b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9319",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 25
  },
  "hsl": {
    "h": 70.328,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.13993,
    "h": 119.7
  },
  "luminance": 0.25373
}

Semantic roles & 50–950 ramp

primary
#7E9319
secondary
#5C47C1
accent
#3AEE59
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9319

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

Preview Lab → · Contrast checker → · Palette generator →

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