#7CA042#7CA042

#7CA042 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.9% C 0.129 H 127.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7CA042
RGBrgb(124, 160, 66)
HSLhsl(83, 42%, 44%)
HSVhsv(83, 59%, 63%)
CMYKcmyk(22.5%, 0%, 58.8%, 37.3%)
CIE-LABlab(61.50, -27.67, 44.12)
CIE-LCHlch(61.50, 52.08, 122.10°)
OKLaboklab(65.86% -0.0781 0.1029)
OKLCHoklch(65.86% 0.129 127.2)
XYZxyz(21.8663, 29.8197, 9.7570)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA042 #6642A0
analogous
#A09542 #7CA042 #4DA042
triadic
#7CA042 #427CA0 #A0427C
tetradic
#7CA042 #42A095 #6642A0 #A0424D
square
#7CA042 #42A095 #6642A0 #A0424D
split-complementary
#7CA042 #424DA0 #9542A0
monochromatic
#39491E #5A7530 #7CA042 #9ABE61 #B6D08D

Accessibility & contrast

On white

3.02
#7CA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7CA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA042
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA042#FFFFFF#000000##000000
##7CA0421.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#A39448
Tritanopia (blue-blind)
#80998C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ca042;
/* rgb */ color: rgb(124, 160, 66);
/* oklch */ color: oklch(65.9% 0.129 127.2);
Tailwind
colors: {
  custom: {
    50: '#a4bc7a',
    500: '#7ca042',
    950: '#000000',
  },
}
SCSS
$custom: #7ca042;
$custom-light: #a4bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca042",
  "rgb": {
    "r": 124,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 82.979,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.12919,
    "h": 127.2
  },
  "luminance": 0.2982
}

Semantic roles & 50–950 ramp

primary
#7CA042
secondary
#9883BB
accent
#56D186
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7CA042

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

Preview Lab → · Contrast checker → · Palette generator →

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