#7CA028#7CA028

#7CA028 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.6% C 0.149 H 125.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7CA028
RGBrgb(124, 160, 40)
HSLhsl(78, 60%, 39%)
HSVhsv(78, 75%, 63%)
CMYKcmyk(22.5%, 0%, 75%, 37.3%)
CIE-LABlab(61.29, -29.60, 54.71)
CIE-LCHlch(61.29, 62.20, 118.42°)
OKLaboklab(65.62% -0.0858 0.1216)
OKLCHoklch(65.62% 0.149 125.2)
XYZxyz(21.2662, 29.5796, 6.5961)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA028 #4C28A0
analogous
#A08828 #7CA028 #40A028
triadic
#7CA028 #287CA0 #A0287C
tetradic
#7CA028 #28A088 #4C28A0 #A02840
square
#7CA028 #28A088 #4C28A0 #A02840
split-complementary
#7CA028 #2840A0 #8828A0
monochromatic
#303E10 #566F1C #7CA028 #A0CD38 #B8D969

Accessibility & contrast

On white

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

On black

6.92
#7CA028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA028
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA028#FFFFFF#000000##000000
##7CA0281.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950F
Deuteranopia (green-blind)
#A49333
Tritanopia (blue-blind)
#829889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ca028;
/* rgb */ color: rgb(124, 160, 40);
/* oklch */ color: oklch(65.6% 0.149 125.2);
Tailwind
colors: {
  custom: {
    50: '#a5bc6b',
    500: '#7ca028',
    950: '#000000',
  },
}
SCSS
$custom: #7ca028;
$custom-light: #a5bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca028",
  "rgb": {
    "r": 124,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 78,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.14884,
    "h": 125.2
  },
  "luminance": 0.2958
}

Semantic roles & 50–950 ramp

primary
#7CA028
secondary
#8064C0
accent
#45E374
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA028

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

Preview Lab → · Contrast checker → · Palette generator →

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