#7CA225#7CA225

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

Color values

HEX#7CA225
RGBrgb(124, 162, 37)
HSLhsl(78, 63%, 39%)
HSVhsv(78, 77%, 64%)
CMYKcmyk(23.5%, 0%, 77.2%, 36.5%)
CIE-LABlab(61.88, -30.71, 56.29)
CIE-LCHlch(61.88, 64.12, 118.62°)
OKLaboklab(66.09% -0.089 0.1245)
OKLCHoklch(66.09% 0.153 125.6)
XYZxyz(21.5666, 30.2590, 6.4543)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA225 #4B25A2
analogous
#A28A25 #7CA225 #3EA225
triadic
#7CA225 #257CA2 #A2257C
tetradic
#7CA225 #25A28A #4B25A2 #A2253E
square
#7CA225 #25A28A #4B25A2 #A2253E
split-complementary
#7CA225 #253EA2 #8A25A2
monochromatic
#303E0E #56701A #7CA225 #A1D134 #B8DC65

Accessibility & contrast

On white

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

On black

7.05
#7CA225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA225
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA225#FFFFFF#000000##000000
##7CA2251.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9704
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#829A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca225;
/* rgb */ color: rgb(124, 162, 37);
/* oklch */ color: oklch(66.1% 0.153 125.6);
Tailwind
colors: {
  custom: {
    50: '#a6bd6a',
    500: '#7ca225',
    950: '#000000',
  },
}
SCSS
$custom: #7ca225;
$custom-light: #a6bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca225",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 78.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66094,
    "c": 0.15302,
    "h": 125.6
  },
  "luminance": 0.30259
}

Semantic roles & 50–950 ramp

primary
#7CA225
secondary
#7F61C2
accent
#42E674
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA225

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

Preview Lab → · Contrast checker → · Palette generator →

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