#31440F#31440F

#31440F is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.080 H 127.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#31440F
RGBrgb(49, 68, 15)
HSLhsl(82, 64%, 16%)
HSVhsv(82, 78%, 27%)
CMYKcmyk(27.9%, 0%, 77.9%, 73.3%)
CIE-LABlab(26.22, -16.92, 28.26)
CIE-LCHlch(26.22, 32.93, 120.91°)
OKLaboklab(35.82% -0.0484 0.0637)
OKLCHoklch(35.82% 0.08 127.2)
XYZxyz(3.4200, 4.8216, 1.2023)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31440F #220F44
analogous
#443D0F #31440F #17440F
triadic
#31440F #0F3144 #440F31
tetradic
#31440F #0F443D #220F44 #440F17
square
#31440F #0F443D #220F44 #440F17
split-complementary
#31440F #0F1744 #3D0F44
monochromatic
#121906 #121906 #31440F #55761A #79A825

Accessibility & contrast

On white

10.69
#31440F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#31440F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31440F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31440F#FFFFFF#000000##FFFFFF
##31440F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#453E13
Tritanopia (blue-blind)
#334139
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #31440f;
/* rgb */ color: rgb(49, 68, 15);
/* oklch */ color: oklch(35.8% 0.080 127.2);
Tailwind
colors: {
  custom: {
    50: '#6b7851',
    500: '#31440f',
    950: '#000000',
  },
}
SCSS
$custom: #31440f;
$custom-light: #6b7851;
$custom-dark: #000000;
JSON
{
  "hex": "#31440f",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 15
  },
  "hsl": {
    "h": 81.509,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.08004,
    "h": 127.2
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#31440F
secondary
#4C307E
accent
#41E77C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #31440F

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

Preview Lab → · Contrast checker → · Palette generator →

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