#7DA228#7DA228

#7DA228 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.2% C 0.151 H 125.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7DA228
RGBrgb(125, 162, 40)
HSLhsl(78, 60%, 40%)
HSVhsv(78, 75%, 64%)
CMYKcmyk(22.8%, 0%, 75.3%, 36.5%)
CIE-LABlab(61.96, -30.15, 55.38)
CIE-LCHlch(61.96, 63.05, 118.56°)
OKLaboklab(66.18% -0.0873 0.123)
OKLCHoklch(66.18% 0.151 125.4)
XYZxyz(21.7609, 30.3536, 6.7194)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA228 #4D28A2
analogous
#A28A28 #7DA228 #40A228
triadic
#7DA228 #287DA2 #A2287D
tetradic
#7DA228 #28A28A #4D28A2 #A22840
square
#7DA228 #28A28A #4D28A2 #A22840
split-complementary
#7DA228 #2840A2 #8A28A2
monochromatic
#314010 #57711C #7DA228 #A1CE39 #B8DA6A

Accessibility & contrast

On white

2.97
#7DA228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#7DA228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DA228
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DA228#FFFFFF#000000##000000
##7DA2281.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7da228;
/* rgb */ color: rgb(125, 162, 40);
/* oklch */ color: oklch(66.2% 0.151 125.4);
Tailwind
colors: {
  custom: {
    50: '#a6bd6b',
    500: '#7da228',
    950: '#000000',
  },
}
SCSS
$custom: #7da228;
$custom-light: #a6bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7da228",
  "rgb": {
    "r": 125,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 78.197,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.15084,
    "h": 125.4
  },
  "luminance": 0.30354
}

Semantic roles & 50–950 ramp

primary
#7DA228
secondary
#8165C1
accent
#44E475
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7DA228

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

Preview Lab → · Contrast checker → · Palette generator →

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