#74A228#74A228

#74A228 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.6% C 0.155 H 128.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#74A228
RGBrgb(116, 162, 40)
HSLhsl(83, 60%, 40%)
HSVhsv(83, 75%, 64%)
CMYKcmyk(28.4%, 0%, 75.3%, 36.5%)
CIE-LABlab(61.40, -33.74, 54.64)
CIE-LCHlch(61.40, 64.22, 121.69°)
OKLaboklab(65.58% -0.0966 0.1217)
OKLCHoklch(65.58% 0.155 128.4)
XYZxyz(20.5058, 29.7064, 6.6606)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74A228 #5628A2
analogous
#A29328 #74A228 #37A228
triadic
#74A228 #2874A2 #A22874
tetradic
#74A228 #28A293 #5628A2 #A22837
square
#74A228 #28A293 #5628A2 #A22837
split-complementary
#74A228 #2837A2 #9328A2
monochromatic
#2E4010 #51711C #74A228 #96CE39 #B0DA6A

Accessibility & contrast

On white

3.03
#74A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#74A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74A228
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74A228#FFFFFF#000000##000000
##74A2281.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#789B8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #74a228;
/* rgb */ color: rgb(116, 162, 40);
/* oklch */ color: oklch(65.6% 0.155 128.4);
Tailwind
colors: {
  custom: {
    50: '#a0bd6b',
    500: '#74a228',
    950: '#000000',
  },
}
SCSS
$custom: #74a228;
$custom-light: #a0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#74a228",
  "rgb": {
    "r": 116,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 82.623,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65584,
    "c": 0.15534,
    "h": 128.4
  },
  "luminance": 0.29707
}

Semantic roles & 50–950 ramp

primary
#74A228
secondary
#8865C1
accent
#44E480
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #74A228

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

Preview Lab → · Contrast checker → · Palette generator →

#74A228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva