#7CA540#7CA540

#7CA540 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.1% C 0.138 H 128.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7CA540
RGBrgb(124, 165, 64)
HSLhsl(84, 44%, 45%)
HSVhsv(84, 61%, 65%)
CMYKcmyk(24.8%, 0%, 61.2%, 35.3%)
CIE-LABlab(62.98, -30.26, 46.71)
CIE-LCHlch(62.98, 55.65, 122.93°)
OKLaboklab(67.05% -0.0854 0.1082)
OKLCHoklch(67.05% 0.138 128.3)
XYZxyz(22.6926, 31.5651, 9.7466)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA540 #6940A5
analogous
#A59B40 #7CA540 #4AA540
triadic
#7CA540 #407CA5 #A5407C
tetradic
#7CA540 #40A59B #6940A5 #A5404A
square
#7CA540 #40A59B #6940A5 #A5404A
split-complementary
#7CA540 #404AA5 #9B40A5
monochromatic
#3A4D1E #5B792F #7CA540 #9AC261 #B6D38D

Accessibility & contrast

On white

2.87
#7CA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7CA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA540
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA540#FFFFFF#000000##000000
##7CA5401.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#A79847
Tritanopia (blue-blind)
#809E8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca540;
/* rgb */ color: rgb(124, 165, 64);
/* oklch */ color: oklch(67.1% 0.138 128.3);
Tailwind
colors: {
  custom: {
    50: '#a5c079',
    500: '#7ca540',
    950: '#000000',
  },
}
SCSS
$custom: #7ca540;
$custom-light: #a5c079;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca540",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 84.356,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.13787,
    "h": 128.3
  },
  "luminance": 0.31566
}

Semantic roles & 50–950 ramp

primary
#7CA540
secondary
#9B83BE
accent
#54D488
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7CA540

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

Preview Lab → · Contrast checker → · Palette generator →

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