#318237#318237

#318237 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.136 H 144.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#318237
RGBrgb(49, 130, 55)
HSLhsl(124, 45%, 35%)
HSVhsv(124, 62%, 51%)
CMYKcmyk(62.3%, 0%, 57.7%, 49%)
CIE-LABlab(48.13, -40.85, 33.00)
CIE-LCHlch(48.13, 52.51, 141.07°)
OKLaboklab(53.91% -0.1107 0.0785)
OKLCHoklch(53.91% 0.136 144.6)
XYZxyz(9.9382, 16.8931, 6.3507)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318237 #82317C
analogous
#548231 #318237 #31825F
triadic
#318237 #373182 #823731
tetradic
#318237 #315482 #82317C #825F31
square
#318237 #315482 #82317C #825F31
split-complementary
#318237 #5F3182 #823154
monochromatic
#0F2911 #205624 #318237 #42AE4A #68C66E

Accessibility & contrast

On white

4.80
#318237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#318237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318237
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318237#FFFFFF#000000##FFFFFF
##3182371.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847730
Deuteranopia (green-blind)
#7A703D
Tritanopia (blue-blind)
#207F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318237;
/* rgb */ color: rgb(49, 130, 55);
/* oklch */ color: oklch(53.9% 0.136 144.6);
Tailwind
colors: {
  custom: {
    50: '#72a770',
    500: '#318237',
    950: '#000000',
  },
}
SCSS
$custom: #318237;
$custom-light: #72a770;
$custom-dark: #000000;
JSON
{
  "hex": "#318237",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 124.444,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.13571,
    "h": 144.6
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#318237
secondary
#AD62A8
accent
#53CBD5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #318237

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

Preview Lab → · Contrast checker → · Palette generator →

#318237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva