#31550E#31550E

#31550E is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.105 H 133.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#31550E
RGBrgb(49, 85, 14)
HSLhsl(90, 72%, 19%)
HSVhsv(90, 84%, 33%)
CMYKcmyk(42.4%, 0%, 83.5%, 66.7%)
CIE-LABlab(32.22, -25.69, 34.56)
CIE-LCHlch(32.22, 43.07, 126.63°)
OKLaboklab(40.71% -0.0723 0.0768)
OKLCHoklch(40.71% 0.105 133.3)
XYZxyz(4.5943, 7.1815, 1.5595)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31550E #320E55
analogous
#55550E #31550E #0E550F
triadic
#31550E #0E3155 #550E31
tetradic
#31550E #0E5555 #320E55 #550F0E
square
#31550E #0E5555 #320E55 #550F0E
split-complementary
#31550E #0F0E55 #550E55
monochromatic
#0F1A04 #132005 #31550E #4F8A17 #6EBE1F

Accessibility & contrast

On white

8.62
#31550E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#31550E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31550E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31550E#FFFFFF#000000##FFFFFF
##31550E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#315148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #31550e;
/* rgb */ color: rgb(49, 85, 14);
/* oklch */ color: oklch(40.7% 0.105 133.3);
Tailwind
colors: {
  custom: {
    50: '#6d8553',
    500: '#31550e',
    950: '#000000',
  },
}
SCSS
$custom: #31550e;
$custom-light: #6d8553;
$custom-dark: #000000;
JSON
{
  "hex": "#31550e",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 14
  },
  "hsl": {
    "h": 90.423,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.10549,
    "h": 133.3
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#31550E
secondary
#60308F
accent
#39EE95
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #31550E

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

Preview Lab → · Contrast checker → · Palette generator →

#31550E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva