#7CA017#7CA017

#7CA017 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.5% C 0.157 H 124.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7CA017
RGBrgb(124, 160, 23)
HSLhsl(76, 75%, 36%)
HSVhsv(76, 86%, 63%)
CMYKcmyk(22.5%, 0%, 85.6%, 37.3%)
CIE-LABlab(61.21, -30.35, 59.67)
CIE-LCHlch(61.21, 66.94, 116.96°)
OKLaboklab(65.53% -0.089 0.1293)
OKLCHoklch(65.53% 0.157 124.5)
XYZxyz(21.0379, 29.4883, 5.3939)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA017 #3B17A0
analogous
#A07F17 #7CA017 #38A017
triadic
#7CA017 #177CA0 #A0177C
tetradic
#7CA017 #17A07F #3B17A0 #A01738
square
#7CA017 #17A07F #3B17A0 #A01738
split-complementary
#7CA017 #1738A0 #7F17A0
monochromatic
#293508 #536A0F #7CA017 #A5D61F #BDE54C

Accessibility & contrast

On white

3.04
#7CA017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#7CA017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA017
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA017#FFFFFF#000000##000000
##7CA0171.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#829888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ca017;
/* rgb */ color: rgb(124, 160, 23);
/* oklch */ color: oklch(65.5% 0.157 124.5);
Tailwind
colors: {
  custom: {
    50: '#a6bc64',
    500: '#7ca017',
    950: '#000000',
  },
}
SCSS
$custom: #7ca017;
$custom-light: #a6bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca017",
  "rgb": {
    "r": 124,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 75.766,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.157,
    "h": 124.5
  },
  "luminance": 0.29489
}

Semantic roles & 50–950 ramp

primary
#7CA017
secondary
#6C4CC7
accent
#36F167
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7CA017

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

Preview Lab → · Contrast checker → · Palette generator →

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