#7D931A#7D931A

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

Color values

HEX#7D931A
RGBrgb(125, 147, 26)
HSLhsl(71, 70%, 34%)
HSVhsv(71, 82%, 58%)
CMYKcmyk(15%, 0%, 82.3%, 42.4%)
CIE-LABlab(57.37, -23.49, 55.57)
CIE-LCHlch(57.37, 60.33, 112.91°)
OKLaboklab(62.45% -0.0702 0.121)
OKLCHoklch(62.45% 0.14 120.1)
XYZxyz(19.0780, 25.3021, 4.8558)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D931A #301A93
analogous
#936D1A #7D931A #41931A
triadic
#7D931A #1A7D93 #931A7D
tetradic
#7D931A #1A936D #301A93 #931A41
square
#7D931A #1A936D #301A93 #931A41
split-complementary
#7D931A #1A4193 #6D1A93
monochromatic
#252B08 #515F11 #7D931A #A9C723 #C3DF49

Accessibility & contrast

On white

3.47
#7D931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D931A#FFFFFF#000000##000000
##7D931A1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d931a;
/* rgb */ color: rgb(125, 147, 26);
/* oklch */ color: oklch(62.4% 0.140 120.1);
Tailwind
colors: {
  custom: {
    50: '#a6b263',
    500: '#7d931a',
    950: '#000000',
  },
}
SCSS
$custom: #7d931a;
$custom-light: #a6b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7d931a",
  "rgb": {
    "r": 125,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 70.909,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62449,
    "c": 0.13992,
    "h": 120.1
  },
  "luminance": 0.25302
}

Semantic roles & 50–950 ramp

primary
#7D931A
secondary
#5E48C0
accent
#3BED5B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D931A

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

Preview Lab → · Contrast checker → · Palette generator →

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