#7CA228#7CA228

#7CA228 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.151 H 125.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7CA228
RGBrgb(124, 162, 40)
HSLhsl(79, 60%, 40%)
HSVhsv(79, 75%, 64%)
CMYKcmyk(23.5%, 0%, 75.3%, 36.5%)
CIE-LABlab(61.89, -30.55, 55.29)
CIE-LCHlch(61.89, 63.17, 118.92°)
OKLaboklab(66.11% -0.0884 0.1229)
OKLCHoklch(66.11% 0.151 125.7)
XYZxyz(21.6157, 30.2786, 6.7126)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA228 #4E28A2
analogous
#A28B28 #7CA228 #3FA228
triadic
#7CA228 #287CA2 #A2287C
tetradic
#7CA228 #28A28B #4E28A2 #A2283F
square
#7CA228 #28A28B #4E28A2 #A2283F
split-complementary
#7CA228 #283FA2 #8B28A2
monochromatic
#314010 #56711C #7CA228 #A0CE39 #B7DA6A

Accessibility & contrast

On white

2.98
#7CA228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7CA228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA228
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA228#FFFFFF#000000##000000
##7CA2281.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970D
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#829A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca228;
/* rgb */ color: rgb(124, 162, 40);
/* oklch */ color: oklch(66.1% 0.151 125.7);
Tailwind
colors: {
  custom: {
    50: '#a6bd6b',
    500: '#7ca228',
    950: '#000000',
  },
}
SCSS
$custom: #7ca228;
$custom-light: #a6bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca228",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 78.689,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.15133,
    "h": 125.7
  },
  "luminance": 0.30279
}

Semantic roles & 50–950 ramp

primary
#7CA228
secondary
#8265C1
accent
#44E476
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA228

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

Preview Lab → · Contrast checker → · Palette generator →

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