#7CA525#7CA525

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

Color values

HEX#7CA525
RGBrgb(124, 165, 37)
HSLhsl(79, 63%, 40%)
HSVhsv(79, 78%, 65%)
CMYKcmyk(24.8%, 0%, 77.6%, 35.3%)
CIE-LABlab(62.78, -32.12, 57.14)
CIE-LCHlch(62.78, 65.55, 119.34°)
OKLaboklab(66.83% -0.0929 0.1263)
OKLCHoklch(66.83% 0.157 126.3)
XYZxyz(22.1014, 31.3285, 6.6325)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA525 #4E25A5
analogous
#A58E25 #7CA525 #3CA525
triadic
#7CA525 #257CA5 #A5257C
tetradic
#7CA525 #25A58E #4E25A5 #A5253C
square
#7CA525 #25A58E #4E25A5 #A5253C
split-complementary
#7CA525 #253CA5 #8E25A5
monochromatic
#31410F #56731A #7CA525 #A0D235 #B7DD67

Accessibility & contrast

On white

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

On black

7.27
#7CA525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA525
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA525#FFFFFF#000000##000000
##7CA5251.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ca525;
/* rgb */ color: rgb(124, 165, 37);
/* oklch */ color: oklch(66.8% 0.157 126.3);
Tailwind
colors: {
  custom: {
    50: '#a6c06a',
    500: '#7ca525',
    950: '#000000',
  },
}
SCSS
$custom: #7ca525;
$custom-light: #a6c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca525",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 79.219,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.15673,
    "h": 126.3
  },
  "luminance": 0.31329
}

Semantic roles & 50–950 ramp

primary
#7CA525
secondary
#8263C3
accent
#41E676
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA525

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

Preview Lab → · Contrast checker → · Palette generator →

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