#7CA81F#7CA81F

#7CA81F is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.5% C 0.163 H 126.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7CA81F
RGBrgb(124, 168, 31)
HSLhsl(79, 69%, 39%)
HSVhsv(79, 82%, 66%)
CMYKcmyk(26.2%, 0%, 81.5%, 34.1%)
CIE-LABlab(63.66, -33.79, 59.75)
CIE-LCHlch(63.66, 68.64, 119.49°)
OKLaboklab(67.53% -0.0978 0.1308)
OKLCHoklch(67.53% 0.163 126.8)
XYZxyz(22.5622, 32.3888, 6.3590)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA81F #4B1FA8
analogous
#A8901F #7CA81F #38A81F
triadic
#7CA81F #1F7CA8 #A81F7C
tetradic
#7CA81F #1FA890 #4B1FA8 #A81F38
square
#7CA81F #1FA890 #4B1FA8 #A81F38
split-complementary
#7CA81F #1F38A8 #901FA8
monochromatic
#30410C #567415 #7CA81F #A1D82C #B8E260

Accessibility & contrast

On white

2.81
#7CA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7CA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA81F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA81F#FFFFFF#000000##000000
##7CA81F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#81A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca81f;
/* rgb */ color: rgb(124, 168, 31);
/* oklch */ color: oklch(67.5% 0.163 126.8);
Tailwind
colors: {
  custom: {
    50: '#a6c268',
    500: '#7ca81f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca81f;
$custom-light: #a6c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca81f",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 79.27,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67534,
    "c": 0.16332,
    "h": 126.8
  },
  "luminance": 0.32389
}

Semantic roles & 50–950 ramp

primary
#7CA81F
secondary
#7F5DC6
accent
#3CEC75
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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