#314F2F#314F2F

#314F2F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.064 H 142.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#314F2F
RGBrgb(49, 79, 47)
HSLhsl(116, 25%, 25%)
HSVhsv(116, 41%, 31%)
CMYKcmyk(38%, 0%, 40.5%, 69%)
CIE-LABlab(30.52, -18.63, 15.47)
CIE-LCHlch(30.52, 24.22, 140.30°)
OKLaboklab(39.45% -0.0508 0.0385)
OKLCHoklch(39.45% 0.064 142.8)
XYZxyz(4.5755, 6.4499, 3.6927)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F2F #4D2F4F
analogous
#414F2F #314F2F #2F4F3D
triadic
#314F2F #2F314F #4F2F31
tetradic
#314F2F #2F414F #4D2F4F #4F3D2F
square
#314F2F #2F414F #4D2F4F #4F3D2F
split-complementary
#314F2F #3D2F4F #4F2F41
monochromatic
#0C130B #192918 #314F2F #497546 #619C5D

Accessibility & contrast

On white

9.17
#314F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#314F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F2F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F2F#FFFFFF#000000##FFFFFF
##314F2F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2D
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#2E4D47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314f2f;
/* rgb */ color: rgb(49, 79, 47);
/* oklch */ color: oklch(39.5% 0.064 142.8);
Tailwind
colors: {
  custom: {
    50: '#6a8068',
    500: '#314f2f',
    950: '#000000',
  },
}
SCSS
$custom: #314f2f;
$custom-light: #6a8068;
$custom-dark: #000000;
JSON
{
  "hex": "#314f2f",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 116.25,
    "s": 25.397,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.06373,
    "h": 142.8
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#314F2F
secondary
#7E5A80
accent
#66C2BC
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #314F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#314F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva