#7CA126#7CA126

#7CA126 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.151 H 125.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7CA126
RGBrgb(124, 161, 38)
HSLhsl(78, 62%, 39%)
HSVhsv(78, 76%, 63%)
CMYKcmyk(23%, 0%, 76.4%, 36.9%)
CIE-LABlab(61.58, -30.19, 55.68)
CIE-LCHlch(61.58, 63.33, 118.47°)
OKLaboklab(65.86% -0.0875 0.1233)
OKLCHoklch(65.86% 0.151 125.4)
XYZxyz(21.4071, 29.9145, 6.4796)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA126 #4B26A1
analogous
#A18926 #7CA126 #3FA126
triadic
#7CA126 #267CA1 #A1267C
tetradic
#7CA126 #26A189 #4B26A1 #A1263F
square
#7CA126 #26A189 #4B26A1 #A1263F
split-complementary
#7CA126 #263FA1 #8926A1
monochromatic
#303E0F #566F1A #7CA126 #A1CF35 #B8DB66

Accessibility & contrast

On white

3.01
#7CA126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7CA126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA126
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA126#FFFFFF#000000##000000
##7CA1261.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9608
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#82998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca126;
/* rgb */ color: rgb(124, 161, 38);
/* oklch */ color: oklch(65.9% 0.151 125.4);
Tailwind
colors: {
  custom: {
    50: '#a6bd6a',
    500: '#7ca126',
    950: '#000000',
  },
}
SCSS
$custom: #7ca126;
$custom-light: #a6bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca126",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 78.049,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65856,
    "c": 0.15123,
    "h": 125.4
  },
  "luminance": 0.29915
}

Semantic roles & 50–950 ramp

primary
#7CA126
secondary
#7F62C1
accent
#43E574
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA126

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

Preview Lab → · Contrast checker → · Palette generator →

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