#7CA528#7CA528

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

Color values

HEX#7CA528
RGBrgb(124, 165, 40)
HSLhsl(80, 61%, 40%)
HSVhsv(80, 76%, 65%)
CMYKcmyk(24.8%, 0%, 75.8%, 35.3%)
CIE-LABlab(62.80, -31.96, 56.16)
CIE-LCHlch(62.80, 64.62, 119.65°)
OKLaboklab(66.85% -0.0922 0.1247)
OKLCHoklch(66.85% 0.155 126.5)
XYZxyz(22.1504, 31.3482, 6.8909)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA528 #5128A5
analogous
#A58F28 #7CA528 #3DA528
triadic
#7CA528 #287CA5 #A5287C
tetradic
#7CA528 #28A58F #5128A5 #A5283D
square
#7CA528 #28A58F #5128A5 #A5283D
split-complementary
#7CA528 #283DA5 #8F28A5
monochromatic
#324210 #57741C #7CA528 #9FCF3B #B7DB6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA528#FFFFFF#000000##000000
##7CA5281.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)
#AE9A0B
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#819D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca528;
/* rgb */ color: rgb(124, 165, 40);
/* oklch */ color: oklch(66.8% 0.155 126.5);
Tailwind
colors: {
  custom: {
    50: '#a6c06c',
    500: '#7ca528',
    950: '#000000',
  },
}
SCSS
$custom: #7ca528;
$custom-light: #a6c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca528",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 79.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66848,
    "c": 0.15507,
    "h": 126.5
  },
  "luminance": 0.31349
}

Semantic roles & 50–950 ramp

primary
#7CA528
secondary
#8567C2
accent
#44E478
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA528

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

Preview Lab → · Contrast checker → · Palette generator →

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