#7CA526#7CA526

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

Color values

HEX#7CA526
RGBrgb(124, 165, 38)
HSLhsl(79, 63%, 40%)
HSVhsv(79, 77%, 65%)
CMYKcmyk(24.8%, 0%, 77%, 35.3%)
CIE-LABlab(62.79, -32.07, 56.82)
CIE-LCHlch(62.79, 65.25, 119.44°)
OKLaboklab(66.84% -0.0927 0.1257)
OKLCHoklch(66.84% 0.156 126.4)
XYZxyz(22.1173, 31.3349, 6.7163)
Luminance0.3134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA526 #4F26A5
analogous
#A58F26 #7CA526 #3DA526
triadic
#7CA526 #267CA5 #A5267C
tetradic
#7CA526 #26A58F #4F26A5 #A5263D
square
#7CA526 #26A58F #4F26A5 #A5263D
split-complementary
#7CA526 #263DA5 #8F26A5
monochromatic
#31420F #57731B #7CA526 #9FD137 #B7DC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA526#FFFFFF#000000##000000
##7CA5261.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)
#AE9A05
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#819D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca526;
/* rgb */ color: rgb(124, 165, 38);
/* oklch */ color: oklch(66.8% 0.156 126.4);
Tailwind
colors: {
  custom: {
    50: '#a6c06b',
    500: '#7ca526',
    950: '#000000',
  },
}
SCSS
$custom: #7ca526;
$custom-light: #a6c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca526",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 79.37,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66836,
    "c": 0.15619,
    "h": 126.4
  },
  "luminance": 0.31335
}

Semantic roles & 50–950 ramp

primary
#7CA526
secondary
#8364C3
accent
#42E677
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA526

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

Preview Lab → · Contrast checker → · Palette generator →

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