#318239#318239

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

Color values

HEX#318239
RGBrgb(49, 130, 57)
HSLhsl(126, 45%, 35%)
HSVhsv(126, 62%, 51%)
CMYKcmyk(62.3%, 0%, 56.2%, 49%)
CIE-LABlab(48.15, -40.57, 32.01)
CIE-LCHlch(48.15, 51.67, 141.73°)
OKLaboklab(53.94% -0.1099 0.0765)
OKLCHoklch(53.94% 0.134 145.1)
XYZxyz(9.9872, 16.9127, 6.6083)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318239 #82317A
analogous
#518231 #318239 #318261
triadic
#318239 #393182 #823931
tetradic
#318239 #315182 #82317A #826131
square
#318239 #315182 #82317A #826131
split-complementary
#318239 #613182 #823151
monochromatic
#0F2912 #205626 #318239 #42AE4C #68C671

Accessibility & contrast

On white

4.79
#318239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #318239
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318239#FFFFFF#000000##FFFFFF
##3182391.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847732
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#207F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318239;
/* rgb */ color: rgb(49, 130, 57);
/* oklch */ color: oklch(53.9% 0.134 145.1);
Tailwind
colors: {
  custom: {
    50: '#72a771',
    500: '#318239',
    950: '#000000',
  },
}
SCSS
$custom: #318239;
$custom-light: #72a771;
$custom-dark: #000000;
JSON
{
  "hex": "#318239",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 125.926,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.13387,
    "h": 145.1
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#318239
secondary
#AD62A6
accent
#53C8D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #318239

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

Preview Lab → · Contrast checker → · Palette generator →

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