#7C9531#7C9531

#7C9531 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.129 H 122.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7C9531
RGBrgb(124, 149, 49)
HSLhsl(75, 51%, 39%)
HSVhsv(75, 67%, 58%)
CMYKcmyk(16.8%, 0%, 67.1%, 41.6%)
CIE-LABlab(58.04, -23.66, 47.95)
CIE-LCHlch(58.04, 53.47, 116.26°)
OKLaboklab(63.02% -0.0686 0.1089)
OKLCHoklch(63.02% 0.129 122.2)
XYZxyz(19.6142, 26.0017, 6.8906)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9531 #4A3195
analogous
#957C31 #7C9531 #4A9531
triadic
#7C9531 #317C95 #95317C
tetradic
#7C9531 #31957C #4A3195 #95314A
square
#7C9531 #31957C #4A3195 #95314A
split-complementary
#7C9531 #314A95 #7C3195
monochromatic
#2F3913 #566722 #7C9531 #A1C142 #B8D070

Accessibility & contrast

On white

3.39
#7C9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7C9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9531
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9531#FFFFFF#000000##000000
##7C95311.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#9B8B39
Tritanopia (blue-blind)
#828E81
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c9531;
/* rgb */ color: rgb(124, 149, 49);
/* oklch */ color: oklch(63.0% 0.129 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b46f',
    500: '#7c9531',
    950: '#000000',
  },
}
SCSS
$custom: #7c9531;
$custom-light: #a5b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9531",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 75,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.12868,
    "h": 122.2
  },
  "luminance": 0.26002
}

Semantic roles & 50–950 ramp

primary
#7C9531
secondary
#7D6AB8
accent
#4EDA71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7C9531

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

Preview Lab → · Contrast checker → · Palette generator →

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