#7CA42B#7CA42B

#7CA42B is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.152 H 126.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7CA42B
RGBrgb(124, 164, 43)
HSLhsl(80, 58%, 41%)
HSVhsv(80, 74%, 64%)
CMYKcmyk(24.4%, 0%, 73.8%, 35.7%)
CIE-LABlab(62.52, -31.33, 54.83)
CIE-LCHlch(62.52, 63.15, 119.74°)
OKLaboklab(66.62% -0.0902 0.1224)
OKLCHoklch(66.62% 0.152 126.4)
XYZxyz(22.0238, 31.0101, 7.1103)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA42B #532BA4
analogous
#A48F2B #7CA42B #3FA42B
triadic
#7CA42B #2B7CA4 #A42B7C
tetradic
#7CA42B #2BA48F #532BA4 #A42B3F
square
#7CA42B #2BA48F #532BA4 #A42B3F
split-complementary
#7CA42B #2B3FA4 #8F2BA4
monochromatic
#334312 #57741E #7CA42B #9ECD3F #B7D970

Accessibility & contrast

On white

2.92
#7CA42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7CA42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA42B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA42B#FFFFFF#000000##000000
##7CA42B1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9914
Deuteranopia (green-blind)
#A79736
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca42b;
/* rgb */ color: rgb(124, 164, 43);
/* oklch */ color: oklch(66.6% 0.152 126.4);
Tailwind
colors: {
  custom: {
    50: '#a5bf6d',
    500: '#7ca42b',
    950: '#000000',
  },
}
SCSS
$custom: #7ca42b;
$custom-light: #a5bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca42b",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 79.835,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66623,
    "c": 0.15204,
    "h": 126.4
  },
  "luminance": 0.3101
}

Semantic roles & 50–950 ramp

primary
#7CA42B
secondary
#876AC1
accent
#46E27A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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