#7CA252#7CA252

#7CA252 is a light, moderate yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.116 H 130.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7CA252
RGBrgb(124, 162, 82)
HSLhsl(89, 33%, 48%)
HSVhsv(89, 49%, 64%)
CMYKcmyk(23.5%, 0%, 49.4%, 36.5%)
CIE-LABlab(62.28, -26.96, 37.21)
CIE-LCHlch(62.28, 45.95, 125.92°)
OKLaboklab(66.55% -0.0748 0.0893)
OKLCHoklch(66.55% 0.116 130)
XYZxyz(22.7552, 30.7345, 12.7145)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA252 #7852A2
analogous
#A2A052 #7CA252 #54A252
triadic
#7CA252 #527CA2 #A2527C
tetradic
#7CA252 #52A2A0 #7852A2 #A25254
square
#7CA252 #52A2A0 #7852A2 #A25254
split-complementary
#7CA252 #5254A2 #A052A2
monochromatic
#3E5129 #5D793D #7CA252 #9ABA77 #B8CFA0

Accessibility & contrast

On white

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

On black

7.15
#7CA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA252
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA252#FFFFFF#000000##000000
##7CA2521.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#A39657
Tritanopia (blue-blind)
#7E9C8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca252;
/* rgb */ color: rgb(124, 162, 82);
/* oklch */ color: oklch(66.6% 0.116 130.0);
Tailwind
colors: {
  custom: {
    50: '#a4bd84',
    500: '#7ca252',
    950: '#000000',
  },
}
SCSS
$custom: #7ca252;
$custom-light: #a4bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca252",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 88.5,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66553,
    "c": 0.11647,
    "h": 130
  },
  "luminance": 0.30735
}

Semantic roles & 50–950 ramp

primary
#7CA252
secondary
#A794BC
accent
#5FC991
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7CA252

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

Preview Lab → · Contrast checker → · Palette generator →

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