#7CA229#7CA229

#7CA229 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.151 H 125.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7CA229
RGBrgb(124, 162, 41)
HSLhsl(79, 60%, 40%)
HSVhsv(79, 75%, 64%)
CMYKcmyk(23.5%, 0%, 74.7%, 36.5%)
CIE-LABlab(61.90, -30.50, 54.95)
CIE-LCHlch(61.90, 62.84, 119.03°)
OKLaboklab(66.12% -0.0881 0.1223)
OKLCHoklch(66.12% 0.151 125.8)
XYZxyz(21.6329, 30.2855, 6.8034)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA229 #4F29A2
analogous
#A28C29 #7CA229 #40A229
triadic
#7CA229 #297CA2 #A2297C
tetradic
#7CA229 #29A28C #4F29A2 #A22940
square
#7CA229 #29A28C #4F29A2 #A22940
split-complementary
#7CA229 #2940A2 #8C29A2
monochromatic
#314010 #57711D #7CA229 #9FCD3B #B7DA6C

Accessibility & contrast

On white

2.98
#7CA229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7CA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA229
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA229#FFFFFF#000000##000000
##7CA2291.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9710
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#819A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca229;
/* rgb */ color: rgb(124, 162, 41);
/* oklch */ color: oklch(66.1% 0.151 125.8);
Tailwind
colors: {
  custom: {
    50: '#a5bd6c',
    500: '#7ca229',
    950: '#000000',
  },
}
SCSS
$custom: #7ca229;
$custom-light: #a5bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca229",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 78.843,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6612,
    "c": 0.15074,
    "h": 125.8
  },
  "luminance": 0.30286
}

Semantic roles & 50–950 ramp

primary
#7CA229
secondary
#8367C0
accent
#45E377
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA229

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

Preview Lab → · Contrast checker → · Palette generator →

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