#7CA331#7CA331

#7CA331 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.4% C 0.147 H 126.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7CA331
RGBrgb(124, 163, 49)
HSLhsl(81, 54%, 42%)
HSVhsv(81, 70%, 64%)
CMYKcmyk(23.9%, 0%, 69.9%, 36.1%)
CIE-LABlab(62.25, -30.48, 52.31)
CIE-LCHlch(62.25, 60.54, 120.23°)
OKLaboklab(66.42% -0.0874 0.118)
OKLCHoklch(66.42% 0.147 126.5)
XYZxyz(21.9638, 30.7009, 7.6738)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA331 #5831A3
analogous
#A39131 #7CA331 #43A331
triadic
#7CA331 #317CA3 #A3317C
tetradic
#7CA331 #31A391 #5831A3 #A33143
square
#7CA331 #31A391 #5831A3 #A33143
split-complementary
#7CA331 #3143A3 #9131A3
monochromatic
#344515 #587423 #7CA331 #9DC849 #B6D678

Accessibility & contrast

On white

2.94
#7CA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7CA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA331
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA331#FFFFFF#000000##000000
##7CA3311.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981F
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#819B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca331;
/* rgb */ color: rgb(124, 163, 49);
/* oklch */ color: oklch(66.4% 0.147 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5be70',
    500: '#7ca331',
    950: '#000000',
  },
}
SCSS
$custom: #7ca331;
$custom-light: #a5be70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca331",
  "rgb": {
    "r": 124,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 80.526,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66424,
    "c": 0.14685,
    "h": 126.5
  },
  "luminance": 0.30701
}

Semantic roles & 50–950 ramp

primary
#7CA331
secondary
#8C71BF
accent
#4BDD7D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA331

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

Preview Lab → · Contrast checker → · Palette generator →

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