#7CA031#7CA031

#7CA031 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.7% C 0.143 H 125.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7CA031
RGBrgb(124, 160, 49)
HSLhsl(79, 53%, 41%)
HSVhsv(79, 69%, 63%)
CMYKcmyk(22.5%, 0%, 69.4%, 37.3%)
CIE-LABlab(61.35, -29.05, 51.38)
CIE-LCHlch(61.35, 59.02, 119.48°)
OKLaboklab(65.69% -0.0835 0.1161)
OKLCHoklch(65.69% 0.143 125.7)
XYZxyz(21.4375, 29.6482, 7.4984)
Luminance0.2965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA031 #5531A0
analogous
#A08C31 #7CA031 #45A031
triadic
#7CA031 #317CA0 #A0317C
tetradic
#7CA031 #31A08C #5531A0 #A03145
square
#7CA031 #31A08C #5531A0 #A03145
split-complementary
#7CA031 #3145A0 #8C31A0
monochromatic
#334214 #587123 #7CA031 #9DC747 #B6D576

Accessibility & contrast

On white

3.03
#7CA031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7CA031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA031
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA031#FFFFFF#000000##000000
##7CA0311.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99520
Deuteranopia (green-blind)
#A4943A
Tritanopia (blue-blind)
#81988A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ca031;
/* rgb */ color: rgb(124, 160, 49);
/* oklch */ color: oklch(65.7% 0.143 125.7);
Tailwind
colors: {
  custom: {
    50: '#a5bc70',
    500: '#7ca031',
    950: '#000000',
  },
}
SCSS
$custom: #7ca031;
$custom-light: #a5bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca031",
  "rgb": {
    "r": 124,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 79.459,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.14297,
    "h": 125.7
  },
  "luminance": 0.29648
}

Semantic roles & 50–950 ramp

primary
#7CA031
secondary
#8970BD
accent
#4BDD7A
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA031

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

Preview Lab → · Contrast checker → · Palette generator →

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