#7D931D#7D931D

#7D931D 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#7D931D
RGBrgb(125, 147, 29)
HSLhsl(71, 67%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(15%, 0%, 80.3%, 42.4%)
CIE-LABlab(57.38, -23.37, 54.70)
CIE-LCHlch(57.38, 59.48, 113.13°)
OKLaboklab(62.47% -0.0696 0.1197)
OKLCHoklch(62.47% 0.138 120.2)
XYZxyz(19.1133, 25.3162, 5.0418)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D931D #331D93
analogous
#936E1D #7D931D #42931D
triadic
#7D931D #1D7D93 #931D7D
tetradic
#7D931D #1D936E #331D93 #931D42
square
#7D931D #1D936E #331D93 #931D42
split-complementary
#7D931D #1D4293 #6E1D93
monochromatic
#262D09 #526013 #7D931D #A8C627 #C2DC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D931D#FFFFFF#000000##000000
##7D931D1.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)
#9A8A29
Tritanopia (blue-blind)
#858B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d931d;
/* rgb */ color: rgb(125, 147, 29);
/* oklch */ color: oklch(62.5% 0.138 120.2);
Tailwind
colors: {
  custom: {
    50: '#a6b264',
    500: '#7d931d',
    950: '#000000',
  },
}
SCSS
$custom: #7d931d;
$custom-light: #a6b264;
$custom-dark: #000000;
JSON
{
  "hex": "#7d931d",
  "rgb": {
    "r": 125,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 71.186,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62465,
    "c": 0.13849,
    "h": 120.2
  },
  "luminance": 0.25316
}

Semantic roles & 50–950 ramp

primary
#7D931D
secondary
#624DBF
accent
#3EEA5E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D931D

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

Preview Lab → · Contrast checker → · Palette generator →

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