#313E22#313E22

#313E22 is a dark, muted yellow-green. Relative luminance 0.042; OKLCH L 34.4% C 0.049 H 129.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#313E22
RGBrgb(49, 62, 34)
HSLhsl(88, 29%, 19%)
HSVhsv(88, 45%, 24%)
CMYKcmyk(21%, 0%, 45.2%, 75.7%)
CIE-LABlab(24.37, -11.24, 15.51)
CIE-LCHlch(24.37, 19.15, 125.93°)
OKLaboklab(34.41% -0.0308 0.0381)
OKLCHoklch(34.41% 0.049 129)
XYZxyz(3.2779, 4.2137, 2.1537)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E22 #2F223E
analogous
#3E3D22 #313E22 #233E22
triadic
#313E22 #22313E #3E2231
tetradic
#313E22 #223E3D #2F223E #3E2223
square
#313E22 #223E3D #2F223E #3E2223
split-complementary
#313E22 #22233E #3D223E
monochromatic
#10140B #12160C #313E22 #506638 #6F8D4D

Accessibility & contrast

On white

11.40
#313E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#313E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E22
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E22#FFFFFF#000000##FFFFFF
##313E221.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A20
Deuteranopia (green-blind)
#3F3A23
Tritanopia (blue-blind)
#323C37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313e22;
/* rgb */ color: rgb(49, 62, 34);
/* oklch */ color: oklch(34.4% 0.049 129.0);
Tailwind
colors: {
  custom: {
    50: '#69735d',
    500: '#313e22',
    950: '#000000',
  },
}
SCSS
$custom: #313e22;
$custom-light: #69735d;
$custom-dark: #000000;
JSON
{
  "hex": "#313e22",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 34
  },
  "hsl": {
    "h": 87.857,
    "s": 29.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34405,
    "c": 0.049,
    "h": 129
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#313E22
secondary
#5D4B71
accent
#62C590
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #313E22

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

Preview Lab → · Contrast checker → · Palette generator →

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