#7E931C#7E931C

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

Color values

HEX#7E931C
RGBrgb(126, 147, 28)
HSLhsl(71, 68%, 34%)
HSVhsv(71, 81%, 58%)
CMYKcmyk(14.3%, 0%, 81%, 42.4%)
CIE-LABlab(57.45, -22.98, 55.09)
CIE-LCHlch(57.45, 59.69, 112.64°)
OKLaboklab(62.54% -0.0687 0.1203)
OKLCHoklch(62.54% 0.139 119.7)
XYZxyz(19.2479, 25.3870, 4.9846)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E931C #311C93
analogous
#936D1C #7E931C #43931C
triadic
#7E931C #1C7E93 #931C7E
tetradic
#7E931C #1C936D #311C93 #931C43
square
#7E931C #1C936D #311C93 #931C43
split-complementary
#7E931C #1C4393 #6D1C93
monochromatic
#262C08 #526012 #7E931C #AAC626 #C3DD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E931C#FFFFFF#000000##000000
##7E931C1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e931c;
/* rgb */ color: rgb(126, 147, 28);
/* oklch */ color: oklch(62.5% 0.139 119.7);
Tailwind
colors: {
  custom: {
    50: '#a7b264',
    500: '#7e931c',
    950: '#000000',
  },
}
SCSS
$custom: #7e931c;
$custom-light: #a7b264;
$custom-dark: #000000;
JSON
{
  "hex": "#7e931c",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 70.588,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.13856,
    "h": 119.7
  },
  "luminance": 0.25387
}

Semantic roles & 50–950 ramp

primary
#7E931C
secondary
#604CBF
accent
#3DEB5C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E931C

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

Preview Lab → · Contrast checker → · Palette generator →

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