#31A430#31A430

#31A430 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.2% C 0.184 H 142.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#31A430
RGBrgb(49, 164, 48)
HSLhsl(119, 55%, 42%)
HSVhsv(119, 71%, 64%)
CMYKcmyk(70.1%, 0%, 70.7%, 35.7%)
CIE-LABlab(59.36, -54.17, 48.70)
CIE-LCHlch(59.36, 72.84, 138.04°)
OKLaboklab(63.18% -0.1471 0.1113)
OKLCHoklch(63.18% 0.184 142.9)
XYZxyz(15.0747, 27.4157, 7.2930)
Luminance0.2742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A430 #A330A4
analogous
#6BA430 #31A430 #30A469
triadic
#31A430 #3031A4 #A43031
tetradic
#31A430 #306BA4 #A330A4 #A46930
square
#31A430 #306BA4 #A330A4 #A46930
split-complementary
#31A430 #6930A4 #A4306B
monochromatic
#154514 #237522 #31A430 #49C948 #78D777

Accessibility & contrast

On white

3.24
#31A430 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#31A430 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A430
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A430#FFFFFF#000000##000000
##31A4301.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951E
Deuteranopia (green-blind)
#9A8B3B
Tritanopia (blue-blind)
#0F9F8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a430;
/* rgb */ color: rgb(49, 164, 48);
/* oklch */ color: oklch(63.2% 0.184 142.9);
Tailwind
colors: {
  custom: {
    50: '#7ac06f',
    500: '#31a430',
    950: '#000000',
  },
}
SCSS
$custom: #31a430;
$custom-light: #7ac06f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a430",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 119.483,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63177,
    "c": 0.18447,
    "h": 142.9
  },
  "luminance": 0.27417
}

Semantic roles & 50–950 ramp

primary
#31A430
secondary
#BF70BF
accent
#4ADEDD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A430

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

Preview Lab → · Contrast checker → · Palette generator →

#31A430 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva