#7E931D#7E931D

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

Color values

HEX#7E931D
RGBrgb(126, 147, 29)
HSLhsl(71, 67%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(14.3%, 0%, 80.3%, 42.4%)
CIE-LABlab(57.46, -22.94, 54.80)
CIE-LCHlch(57.46, 59.40, 112.71°)
OKLaboklab(62.54% -0.0685 0.1199)
OKLCHoklch(62.54% 0.138 119.8)
XYZxyz(19.2601, 25.3919, 5.0486)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E931D #321D93
analogous
#936D1D #7E931D #43931D
triadic
#7E931D #1D7E93 #931D7E
tetradic
#7E931D #1D936D #321D93 #931D43
square
#7E931D #1D936D #321D93 #931D43
split-complementary
#7E931D #1D4393 #6D1D93
monochromatic
#262D09 #526013 #7E931D #AAC627 #C3DC4E

Accessibility & contrast

On white

3.45
#7E931D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7E931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E931D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E931D#FFFFFF#000000##000000
##7E931D1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e931d;
/* rgb */ color: rgb(126, 147, 29);
/* oklch */ color: oklch(62.5% 0.138 119.8);
Tailwind
colors: {
  custom: {
    50: '#a7b264',
    500: '#7e931d',
    950: '#000000',
  },
}
SCSS
$custom: #7e931d;
$custom-light: #a7b264;
$custom-dark: #000000;
JSON
{
  "hex": "#7e931d",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 70.678,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62542,
    "c": 0.13806,
    "h": 119.8
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#7E931D
secondary
#614DBF
accent
#3EEA5C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E931D

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

Preview Lab → · Contrast checker → · Palette generator →

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