#318B1B#318B1B

#318B1B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.167 H 140.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#318B1B
RGBrgb(49, 139, 27)
HSLhsl(108, 67%, 33%)
HSVhsv(108, 81%, 55%)
CMYKcmyk(64.7%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.92, -47.03, 47.91)
CIE-LCHlch(50.92, 67.14, 134.47°)
OKLaboklab(56.14% -0.1289 0.1068)
OKLCHoklch(56.14% 0.167 140.4)
XYZxyz(10.6966, 19.1963, 4.1783)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318B1B #751B8B
analogous
#698B1B #318B1B #1B8B3D
triadic
#318B1B #1B318B #8B1B31
tetradic
#318B1B #1B698B #751B8B #8B3D1B
square
#318B1B #1B698B #751B8B #8B3D1B
split-complementary
#318B1B #3D1B8B #8B1B69
monochromatic
#0D2507 #1F5811 #318B1B #43BE25 #63DB45

Accessibility & contrast

On white

4.34
#318B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#318B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318B1B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318B1B#FFFFFF#000000##000000
##318B1B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#238676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #318b1b;
/* rgb */ color: rgb(49, 139, 27);
/* oklch */ color: oklch(56.1% 0.167 140.4);
Tailwind
colors: {
  custom: {
    50: '#76ae61',
    500: '#318b1b',
    950: '#000000',
  },
}
SCSS
$custom: #318b1b;
$custom-light: #76ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#318b1b",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 108.214,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.1674,
    "h": 140.4
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#318B1B
secondary
#A545BC
accent
#3DEAC8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #318B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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