#7CA431#7CA431

#7CA431 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.7% C 0.148 H 126.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7CA431
RGBrgb(124, 164, 49)
HSLhsl(81, 54%, 42%)
HSVhsv(81, 70%, 64%)
CMYKcmyk(24.4%, 0%, 70.1%, 35.7%)
CIE-LABlab(62.56, -30.95, 52.62)
CIE-LCHlch(62.56, 61.04, 120.46°)
OKLaboklab(66.67% -0.0887 0.1187)
OKLCHoklch(66.67% 0.148 126.8)
XYZxyz(22.1421, 31.0574, 7.7333)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA431 #5931A4
analogous
#A49331 #7CA431 #42A431
triadic
#7CA431 #317CA4 #A4317C
tetradic
#7CA431 #31A493 #5931A4 #A43142
square
#7CA431 #31A493 #5931A4 #A43142
split-complementary
#7CA431 #3142A4 #9331A4
monochromatic
#354615 #587523 #7CA431 #9CC949 #B6D779

Accessibility & contrast

On white

2.91
#7CA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7CA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA431
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA431#FFFFFF#000000##000000
##7CA4311.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991F
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca431;
/* rgb */ color: rgb(124, 164, 49);
/* oklch */ color: oklch(66.7% 0.148 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5bf70',
    500: '#7ca431',
    950: '#000000',
  },
}
SCSS
$custom: #7ca431;
$custom-light: #a5bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca431",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 80.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66669,
    "c": 0.14815,
    "h": 126.8
  },
  "luminance": 0.31058
}

Semantic roles & 50–950 ramp

primary
#7CA431
secondary
#8D72BF
accent
#4ADD7E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA431

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

Preview Lab → · Contrast checker → · Palette generator →

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