#7E931E#7E931E

#7E931E 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#7E931E
RGBrgb(126, 147, 30)
HSLhsl(71, 66%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(14.3%, 0%, 79.6%, 42.4%)
CIE-LABlab(57.46, -22.89, 54.49)
CIE-LCHlch(57.46, 59.11, 112.79°)
OKLaboklab(62.55% -0.0683 0.1194)
OKLCHoklch(62.55% 0.138 119.8)
XYZxyz(19.2726, 25.3969, 5.1148)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E931E #331E93
analogous
#936E1E #7E931E #44931E
triadic
#7E931E #1E7E93 #931E7E
tetradic
#7E931E #1E936E #331E93 #931E44
square
#7E931E #1E936E #331E93 #931E44
split-complementary
#7E931E #1E4493 #6E1E93
monochromatic
#272D09 #526014 #7E931E #AAC628 #C2DB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E931E#FFFFFF#000000##000000
##7E931E1.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: #7e931e;
/* rgb */ color: rgb(126, 147, 30);
/* oklch */ color: oklch(62.5% 0.138 119.8);
Tailwind
colors: {
  custom: {
    50: '#a7b265',
    500: '#7e931e',
    950: '#000000',
  },
}
SCSS
$custom: #7e931e;
$custom-light: #a7b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7e931e",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 70.769,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62547,
    "c": 0.13756,
    "h": 119.8
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#7E931E
secondary
#634FBE
accent
#3FE95D
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E931E

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

Preview Lab → · Contrast checker → · Palette generator →

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