#313E27#313E27

#313E27 is a dark, muted yellow-green. Relative luminance 0.042; OKLCH L 34.5% C 0.042 H 132.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#313E27
RGBrgb(49, 62, 39)
HSLhsl(94, 23%, 20%)
HSVhsv(94, 37%, 24%)
CMYKcmyk(21%, 0%, 37.1%, 75.7%)
CIE-LABlab(24.46, -10.39, 12.46)
CIE-LCHlch(24.46, 16.22, 129.83°)
OKLaboklab(34.52% -0.0283 0.0312)
OKLCHoklch(34.52% 0.042 132.2)
XYZxyz(3.3554, 4.2446, 2.5616)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E27 #34273E
analogous
#3D3E27 #313E27 #273E29
triadic
#313E27 #27313E #3E2731
tetradic
#313E27 #273D3E #34273E #3E2927
square
#313E27 #273D3E #34273E #3E2927
split-complementary
#313E27 #29273E #3E273D
monochromatic
#0F130C #13180F #313E27 #4F643F #6C8956

Accessibility & contrast

On white

11.36
#313E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#313E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E27
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E27#FFFFFF#000000##FFFFFF
##313E271.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B25
Deuteranopia (green-blind)
#3E3A28
Tritanopia (blue-blind)
#313C38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313e27;
/* rgb */ color: rgb(49, 62, 39);
/* oklch */ color: oklch(34.5% 0.042 132.2);
Tailwind
colors: {
  custom: {
    50: '#697361',
    500: '#313e27',
    950: '#000000',
  },
}
SCSS
$custom: #313e27;
$custom-light: #697361;
$custom-dark: #000000;
JSON
{
  "hex": "#313e27",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 39
  },
  "hsl": {
    "h": 93.913,
    "s": 22.772,
    "l": 19.804
  },
  "oklch": {
    "l": 0.34516,
    "c": 0.04207,
    "h": 132.2
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#313E27
secondary
#625170
accent
#69BF9A
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313E27

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

Preview Lab → · Contrast checker → · Palette generator →

#313E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva