#318117#318117

#318117 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.158 H 139.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#318117
RGBrgb(49, 129, 23)
HSLhsl(105, 70%, 30%)
HSVhsv(105, 82%, 51%)
CMYKcmyk(62%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.51, -43.60, 45.97)
CIE-LCHlch(47.51, 63.36, 133.48°)
OKLaboklab(53.32% -0.1199 0.1021)
OKLCHoklch(53.32% 0.158 139.6)
XYZxyz(9.2711, 16.4145, 3.4902)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318117 #671781
analogous
#668117 #318117 #178132
triadic
#318117 #173181 #811731
tetradic
#318117 #176681 #671781 #813217
square
#318117 #176681 #671781 #813217
split-complementary
#318117 #321781 #811766
monochromatic
#0A1A05 #1D4D0E #318117 #45B520 #5FDB37

Accessibility & contrast

On white

4.90
#318117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#318117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318117
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318117#FFFFFF#000000##FFFFFF
##3181171.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#277C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #318117;
/* rgb */ color: rgb(49, 129, 23);
/* oklch */ color: oklch(53.3% 0.158 139.6);
Tailwind
colors: {
  custom: {
    50: '#74a65e',
    500: '#318117',
    950: '#000000',
  },
}
SCSS
$custom: #318117;
$custom-light: #74a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#318117",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 105.283,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.1575,
    "h": 139.6
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#318117
secondary
#983EB5
accent
#3BEDC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #318117

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

Preview Lab → · Contrast checker → · Palette generator →

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