#31945E#31945E

#31945E is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.5% C 0.123 H 155.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#31945E
RGBrgb(49, 148, 94)
HSLhsl(147, 50%, 39%)
HSVhsv(147, 67%, 58%)
CMYKcmyk(66.9%, 0%, 36.5%, 42%)
CIE-LABlab(54.70, -41.46, 20.41)
CIE-LCHlch(54.70, 46.21, 153.79°)
OKLaboklab(59.52% -0.1123 0.0512)
OKLCHoklch(59.52% 0.123 155.5)
XYZxyz(13.8757, 22.6395, 14.2261)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31945E #943167
analogous
#359431 #31945E #31948F
triadic
#31945E #5E3194 #945E31
tetradic
#31945E #313594 #943167 #948F31
square
#31945E #313594 #943167 #948F31
split-complementary
#31945E #8F3194 #943135
monochromatic
#133824 #226641 #31945E #42C07B #70D09B

Accessibility & contrast

On white

3.80
#31945E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#31945E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31945E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31945E#FFFFFF#000000##000000
##31945E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885A
Deuteranopia (green-blind)
#877F61
Tritanopia (blue-blind)
#009386
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31945e;
/* rgb */ color: rgb(49, 148, 94);
/* oklch */ color: oklch(59.5% 0.123 155.5);
Tailwind
colors: {
  custom: {
    50: '#75b48c',
    500: '#31945e',
    950: '#000000',
  },
}
SCSS
$custom: #31945e;
$custom-light: #75b48c;
$custom-dark: #000000;
JSON
{
  "hex": "#31945e",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 94
  },
  "hsl": {
    "h": 147.273,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5952,
    "c": 0.12347,
    "h": 155.5
  },
  "luminance": 0.22641
}

Semantic roles & 50–950 ramp

primary
#31945E
secondary
#B76994
accent
#4E9ADA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31945E

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

Preview Lab → · Contrast checker → · Palette generator →

#31945E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva