#7C931D#7C931D

#7C931D is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.4% C 0.139 H 120.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7C931D
RGBrgb(124, 147, 29)
HSLhsl(72, 67%, 35%)
HSVhsv(72, 80%, 58%)
CMYKcmyk(15.6%, 0%, 80.3%, 42.4%)
CIE-LABlab(57.31, -23.80, 54.61)
CIE-LCHlch(57.31, 59.57, 113.55°)
OKLaboklab(62.39% -0.0708 0.1195)
OKLCHoklch(62.39% 0.139 120.6)
XYZxyz(18.9680, 25.2413, 5.0349)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C931D #341D93
analogous
#936F1D #7C931D #41931D
triadic
#7C931D #1D7C93 #931D7C
tetradic
#7C931D #1D936F #341D93 #931D41
square
#7C931D #1D936F #341D93 #931D41
split-complementary
#7C931D #1D4193 #6F1D93
monochromatic
#262D09 #516013 #7C931D #A7C627 #C0DC4E

Accessibility & contrast

On white

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

On black

6.05
#7C931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C931D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C931D#FFFFFF#000000##000000
##7C931D1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c931d;
/* rgb */ color: rgb(124, 147, 29);
/* oklch */ color: oklch(62.4% 0.139 120.6);
Tailwind
colors: {
  custom: {
    50: '#a5b264',
    500: '#7c931d',
    950: '#000000',
  },
}
SCSS
$custom: #7c931d;
$custom-light: #a5b264;
$custom-dark: #000000;
JSON
{
  "hex": "#7c931d",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 71.695,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.13892,
    "h": 120.6
  },
  "luminance": 0.25241
}

Semantic roles & 50–950 ramp

primary
#7C931D
secondary
#634DBF
accent
#3EEA5F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C931D

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

Preview Lab → · Contrast checker → · Palette generator →

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