#31460B#31460B

#31460B is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.086 H 127.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#31460B
RGBrgb(49, 70, 11)
HSLhsl(81, 73%, 16%)
HSVhsv(81, 84%, 27%)
CMYKcmyk(30%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.90, -18.29, 30.63)
CIE-LCHlch(26.90, 35.67, 120.84°)
OKLaboklab(36.36% -0.0525 0.068)
OKLCHoklch(36.36% 0.086 127.7)
XYZxyz(3.5172, 5.0574, 1.1074)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31460B #200B46
analogous
#463D0B #31460B #13460B
triadic
#31460B #0B3146 #460B31
tetradic
#31460B #0B463D #200B46 #460B13
square
#31460B #0B463D #200B46 #460B13
split-complementary
#31460B #0B1346 #3D0B46
monochromatic
#131A04 #131A04 #31460B #567B13 #7BB01C

Accessibility & contrast

On white

10.44
#31460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#31460B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31460B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31460B#FFFFFF#000000##FFFFFF
##31460B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4001
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#33423B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #31460b;
/* rgb */ color: rgb(49, 70, 11);
/* oklch */ color: oklch(36.4% 0.086 127.7);
Tailwind
colors: {
  custom: {
    50: '#6c794f',
    500: '#31460b',
    950: '#000000',
  },
}
SCSS
$custom: #31460b;
$custom-light: #6c794f;
$custom-dark: #000000;
JSON
{
  "hex": "#31460b",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 81.356,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36362,
    "c": 0.08592,
    "h": 127.7
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#31460B
secondary
#4A2A82
accent
#38F079
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31460B

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

Preview Lab → · Contrast checker → · Palette generator →

#31460B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva