#31B230#31B230

#31B230 is a light, highly saturated green. Relative luminance 0.327; OKLCH L 67.0% C 0.201 H 142.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#31B230
RGBrgb(49, 178, 48)
HSLhsl(120, 58%, 44%)
HSVhsv(120, 73%, 70%)
CMYKcmyk(72.5%, 0%, 73%, 30.2%)
CIE-LABlab(63.92, -58.86, 53.42)
CIE-LCHlch(63.92, 79.49, 137.77°)
OKLaboklab(66.96% -0.1598 0.1212)
OKLCHoklch(66.96% 0.201 142.8)
XYZxyz(17.7194, 32.7052, 8.1746)
Luminance0.3271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B230 #B130B2
analogous
#72B230 #31B230 #30B270
triadic
#31B230 #3031B2 #B23031
tetradic
#31B230 #3072B2 #B130B2 #B27030
square
#31B230 #3072B2 #B130B2 #B27030
split-complementary
#31B230 #7030B2 #B23072
monochromatic
#165216 #248223 #31B230 #51D050 #80DD80

Accessibility & contrast

On white

2.78
#31B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#31B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B230
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B230#FFFFFF#000000##000000
##31B2301.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#A7973D
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b230;
/* rgb */ color: rgb(49, 178, 48);
/* oklch */ color: oklch(67.0% 0.201 142.8);
Tailwind
colors: {
  custom: {
    50: '#7dca70',
    500: '#31b230',
    950: '#000000',
  },
}
SCSS
$custom: #31b230;
$custom-light: #7dca70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b230",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 119.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66964,
    "c": 0.20056,
    "h": 142.8
  },
  "luminance": 0.32707
}

Semantic roles & 50–950 ramp

primary
#31B230
secondary
#C578C6
accent
#47E1E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B230

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

Preview Lab → · Contrast checker → · Palette generator →

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