#7C931A#7C931A

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

Color values

HEX#7C931A
RGBrgb(124, 147, 26)
HSLhsl(71, 70%, 34%)
HSVhsv(71, 82%, 58%)
CMYKcmyk(15.6%, 0%, 82.3%, 42.4%)
CIE-LABlab(57.30, -23.92, 55.48)
CIE-LCHlch(57.30, 60.42, 113.33°)
OKLaboklab(62.37% -0.0713 0.1209)
OKLCHoklch(62.37% 0.14 120.5)
XYZxyz(18.9327, 25.2272, 4.8490)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C931A #311A93
analogous
#936E1A #7C931A #40931A
triadic
#7C931A #1A7C93 #931A7C
tetradic
#7C931A #1A936E #311A93 #931A40
square
#7C931A #1A936E #311A93 #931A40
split-complementary
#7C931A #1A4093 #6E1A93
monochromatic
#242B08 #505F11 #7C931A #A8C723 #C2DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C931A#FFFFFF#000000##000000
##7C931A1.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)
#9A8A27
Tritanopia (blue-blind)
#838B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c931a;
/* rgb */ color: rgb(124, 147, 26);
/* oklch */ color: oklch(62.4% 0.140 120.5);
Tailwind
colors: {
  custom: {
    50: '#a5b263',
    500: '#7c931a',
    950: '#000000',
  },
}
SCSS
$custom: #7c931a;
$custom-light: #a5b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7c931a",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 71.405,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62372,
    "c": 0.14035,
    "h": 120.5
  },
  "luminance": 0.25227
}

Semantic roles & 50–950 ramp

primary
#7C931A
secondary
#5F48C0
accent
#3BED5D
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C931A

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

Preview Lab → · Contrast checker → · Palette generator →

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