#7DA227#7DA227

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

Color values

HEX#7DA227
RGBrgb(125, 162, 39)
HSLhsl(78, 61%, 39%)
HSVhsv(78, 76%, 64%)
CMYKcmyk(22.8%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.95, -30.20, 55.71)
CIE-LCHlch(61.95, 63.37, 118.46°)
OKLaboklab(66.18% -0.0875 0.1235)
OKLCHoklch(66.18% 0.151 125.3)
XYZxyz(21.7442, 30.3468, 6.6310)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA227 #4C27A2
analogous
#A28A27 #7DA227 #3FA227
triadic
#7DA227 #277DA2 #A2277D
tetradic
#7DA227 #27A28A #4C27A2 #A2273F
square
#7DA227 #27A28A #4C27A2 #A2273F
split-complementary
#7DA227 #273FA2 #8A27A2
monochromatic
#313F0F #57711B #7DA227 #A1CF37 #B8DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7DA227#FFFFFF#000000##000000
##7DA2271.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)
#AB970A
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#839A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7da227;
/* rgb */ color: rgb(125, 162, 39);
/* oklch */ color: oklch(66.2% 0.151 125.3);
Tailwind
colors: {
  custom: {
    50: '#a6bd6b',
    500: '#7da227',
    950: '#000000',
  },
}
SCSS
$custom: #7da227;
$custom-light: #a6bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7da227",
  "rgb": {
    "r": 125,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 78.049,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.15142,
    "h": 125.3
  },
  "luminance": 0.30347
}

Semantic roles & 50–950 ramp

primary
#7DA227
secondary
#8064C1
accent
#43E474
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7DA227

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

Preview Lab → · Contrast checker → · Palette generator →

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