#7CA227#7CA227

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

Color values

HEX#7CA227
RGBrgb(124, 162, 39)
HSLhsl(79, 61%, 39%)
HSVhsv(79, 76%, 64%)
CMYKcmyk(23.5%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.89, -30.61, 55.63)
CIE-LCHlch(61.89, 63.49, 118.82°)
OKLaboklab(66.11% -0.0886 0.1234)
OKLCHoklch(66.11% 0.152 125.7)
XYZxyz(21.5989, 30.2719, 6.6242)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA227 #4D27A2
analogous
#A28B27 #7CA227 #3EA227
triadic
#7CA227 #277CA2 #A2277C
tetradic
#7CA227 #27A28B #4D27A2 #A2273E
square
#7CA227 #27A28B #4D27A2 #A2273E
split-complementary
#7CA227 #273EA2 #8B27A2
monochromatic
#303F0F #56711B #7CA227 #A0CF37 #B8DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA227#FFFFFF#000000##000000
##7CA2271.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)
#AB970A
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#829A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca227;
/* rgb */ color: rgb(124, 162, 39);
/* oklch */ color: oklch(66.1% 0.152 125.7);
Tailwind
colors: {
  custom: {
    50: '#a6bd6b',
    500: '#7ca227',
    950: '#000000',
  },
}
SCSS
$custom: #7ca227;
$custom-light: #a6bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca227",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 78.537,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.1519,
    "h": 125.7
  },
  "luminance": 0.30272
}

Semantic roles & 50–950 ramp

primary
#7CA227
secondary
#8164C1
accent
#43E475
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA227

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

Preview Lab → · Contrast checker → · Palette generator →

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