#7CA522#7CA522

#7CA522 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.158 H 126.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7CA522
RGBrgb(124, 165, 34)
HSLhsl(79, 66%, 39%)
HSVhsv(79, 79%, 65%)
CMYKcmyk(24.8%, 0%, 79.4%, 35.3%)
CIE-LABlab(62.77, -32.26, 58.07)
CIE-LCHlch(62.77, 66.43, 119.06°)
OKLaboklab(66.81% -0.0935 0.1277)
OKLCHoklch(66.81% 0.158 126.2)
XYZxyz(22.0562, 31.3105, 6.3946)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA522 #4B22A5
analogous
#A58D22 #7CA522 #3AA522
triadic
#7CA522 #227CA5 #A5227C
tetradic
#7CA522 #22A58D #4B22A5 #A5223A
square
#7CA522 #22A58D #4B22A5 #A5223A
split-complementary
#7CA522 #223AA5 #8D22A5
monochromatic
#30400D #567218 #7CA522 #A1D430 #B8DF63

Accessibility & contrast

On white

2.89
#7CA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7CA522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA522
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA522#FFFFFF#000000##000000
##7CA5221.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A99730
Tritanopia (blue-blind)
#819D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca522;
/* rgb */ color: rgb(124, 165, 34);
/* oklch */ color: oklch(66.8% 0.158 126.2);
Tailwind
colors: {
  custom: {
    50: '#a6c069',
    500: '#7ca522',
    950: '#000000',
  },
}
SCSS
$custom: #7ca522;
$custom-light: #a6c069;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca522",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 78.779,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66813,
    "c": 0.15826,
    "h": 126.2
  },
  "luminance": 0.31311
}

Semantic roles & 50–950 ramp

primary
#7CA522
secondary
#7F5FC4
accent
#3FE974
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA522

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

Preview Lab → · Contrast checker → · Palette generator →

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