#7C9331#7C9331

#7C9331 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.126 H 121.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7C9331
RGBrgb(124, 147, 49)
HSLhsl(74, 50%, 38%)
HSVhsv(74, 67%, 58%)
CMYKcmyk(15.6%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.44, -22.66, 47.32)
CIE-LCHlch(57.44, 52.47, 115.58°)
OKLaboklab(62.53% -0.0658 0.1075)
OKLCHoklch(62.53% 0.126 121.5)
XYZxyz(19.3005, 25.3743, 6.7861)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9331 #483193
analogous
#937931 #7C9331 #4B9331
triadic
#7C9331 #317C93 #93317C
tetradic
#7C9331 #319379 #483193 #93314B
square
#7C9331 #319379 #483193 #93314B
split-complementary
#7C9331 #314B93 #793193
monochromatic
#2F3712 #556522 #7C9331 #A2C041 #B9CF6F

Accessibility & contrast

On white

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

On black

6.07
#7C9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9331
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9331#FFFFFF#000000##000000
##7C93311.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A24
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#838C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9331;
/* rgb */ color: rgb(124, 147, 49);
/* oklch */ color: oklch(62.5% 0.126 121.5);
Tailwind
colors: {
  custom: {
    50: '#a4b26e',
    500: '#7c9331',
    950: '#000000',
  },
}
SCSS
$custom: #7c9331;
$custom-light: #a4b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9331",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 74.082,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.12608,
    "h": 121.5
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#7C9331
secondary
#7B69B7
accent
#4EDA6F
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7C9331

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

Preview Lab → · Contrast checker → · Palette generator →

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