#318F23#318F23

#318F23 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.168 H 141.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#318F23
RGBrgb(49, 143, 35)
HSLhsl(112, 61%, 35%)
HSVhsv(112, 76%, 56%)
CMYKcmyk(65.7%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.31, -47.90, 46.48)
CIE-LCHlch(52.31, 66.75, 135.86°)
OKLaboklab(57.31% -0.1309 0.1049)
OKLCHoklch(57.31% 0.168 141.3)
XYZxyz(11.3919, 20.4181, 4.9305)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F23 #81238F
analogous
#678F23 #318F23 #238F4B
triadic
#318F23 #23318F #8F2331
tetradic
#318F23 #23678F #81238F #8F4B23
square
#318F23 #23678F #81238F #8F4B23
split-complementary
#318F23 #4B238F #8F2367
monochromatic
#0F2D0B #205E17 #318F23 #42C02F #67D657

Accessibility & contrast

On white

4.13
#318F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#318F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F23
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F23#FFFFFF#000000##000000
##318F231.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#208A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f23;
/* rgb */ color: rgb(49, 143, 35);
/* oklch */ color: oklch(57.3% 0.168 141.3);
Tailwind
colors: {
  custom: {
    50: '#76b166',
    500: '#318f23',
    950: '#000000',
  },
}
SCSS
$custom: #318f23;
$custom-light: #76b166;
$custom-dark: #000000;
JSON
{
  "hex": "#318f23",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 112.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.16773,
    "h": 141.3
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#318F23
secondary
#AD54BA
accent
#44E4CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #318F23

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

Preview Lab → · Contrast checker → · Palette generator →

#318F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva