#31590F#31590F

#31590F is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.110 H 134.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#31590F
RGBrgb(49, 89, 15)
HSLhsl(92, 71%, 20%)
HSVhsv(92, 83%, 35%)
CMYKcmyk(44.9%, 0%, 83.1%, 65.1%)
CIE-LABlab(33.63, -27.52, 35.54)
CIE-LCHlch(33.63, 44.95, 127.75°)
OKLaboklab(41.87% -0.0772 0.079)
OKLCHoklch(41.87% 0.11 134.3)
XYZxyz(4.9251, 7.8319, 1.7040)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31590F #370F59
analogous
#56590F #31590F #0F5912
triadic
#31590F #0F3159 #590F31
tetradic
#31590F #0F5659 #370F59 #59120F
square
#31590F #0F5659 #370F59 #59120F
split-complementary
#31590F #120F59 #590F56
monochromatic
#0E1A04 #142506 #31590F #4E8D18 #6BC221

Accessibility & contrast

On white

8.18
#31590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#31590F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31590F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31590F#FFFFFF#000000##FFFFFF
##31590F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#30554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #31590f;
/* rgb */ color: rgb(49, 89, 15);
/* oklch */ color: oklch(41.9% 0.110 134.3);
Tailwind
colors: {
  custom: {
    50: '#6d8854',
    500: '#31590f',
    950: '#000000',
  },
}
SCSS
$custom: #31590f;
$custom-light: #6d8854;
$custom-dark: #000000;
JSON
{
  "hex": "#31590f",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 92.432,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41865,
    "c": 0.11045,
    "h": 134.3
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#31590F
secondary
#663193
accent
#3AEE9B
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #31590F

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

Preview Lab → · Contrast checker → · Palette generator →

#31590F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva