#7D931E#7D931E

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

Color values

HEX#7D931E
RGBrgb(125, 147, 30)
HSLhsl(71, 66%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(15%, 0%, 79.6%, 42.4%)
CIE-LABlab(57.39, -23.33, 54.40)
CIE-LCHlch(57.39, 59.19, 113.21°)
OKLaboklab(62.47% -0.0694 0.1192)
OKLCHoklch(62.47% 0.138 120.2)
XYZxyz(19.1259, 25.3212, 5.1080)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D931E #341E93
analogous
#936F1E #7D931E #43931E
triadic
#7D931E #1E7D93 #931E7D
tetradic
#7D931E #1E936F #341E93 #931E43
square
#7D931E #1E936F #341E93 #931E43
split-complementary
#7D931E #1E4393 #6F1E93
monochromatic
#272D09 #526014 #7D931E #A8C628 #C1DB50

Accessibility & contrast

On white

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

On black

6.06
#7D931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D931E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D931E#FFFFFF#000000##000000
##7D931E1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d931e;
/* rgb */ color: rgb(125, 147, 30);
/* oklch */ color: oklch(62.5% 0.138 120.2);
Tailwind
colors: {
  custom: {
    50: '#a6b265',
    500: '#7d931e',
    950: '#000000',
  },
}
SCSS
$custom: #7d931e;
$custom-light: #a6b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7d931e",
  "rgb": {
    "r": 125,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 71.282,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.13798,
    "h": 120.2
  },
  "luminance": 0.25321
}

Semantic roles & 50–950 ramp

primary
#7D931E
secondary
#644FBE
accent
#3FE95F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D931E

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

Preview Lab → · Contrast checker → · Palette generator →

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