#31460A#31460A

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

Color values

HEX#31460A
RGBrgb(49, 70, 10)
HSLhsl(81, 75%, 16%)
HSVhsv(81, 86%, 27%)
CMYKcmyk(30%, 0%, 85.7%, 72.5%)
CIE-LABlab(26.89, -18.35, 31.01)
CIE-LCHlch(26.89, 36.03, 120.61°)
OKLaboklab(36.35% -0.0528 0.0686)
OKLCHoklch(36.35% 0.087 127.6)
XYZxyz(3.5116, 5.0551, 1.0778)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31460A #1F0A46
analogous
#463D0A #31460A #13460A
triadic
#31460A #0A3146 #460A31
tetradic
#31460A #0A463D #1F0A46 #460A13
square
#31460A #0A463D #1F0A46 #460A13
split-complementary
#31460A #0A1346 #3D0A46
monochromatic
#131B04 #131B04 #31460A #567C12 #7CB119

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31460A#FFFFFF#000000##FFFFFF
##31460A1.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)
#4A4000
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#33423B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #31460a;
/* rgb */ color: rgb(49, 70, 10);
/* oklch */ color: oklch(36.4% 0.087 127.6);
Tailwind
colors: {
  custom: {
    50: '#6c794f',
    500: '#31460a',
    950: '#000000',
  },
}
SCSS
$custom: #31460a;
$custom-light: #6c794f;
$custom-dark: #000000;
JSON
{
  "hex": "#31460a",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 81,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.08655,
    "h": 127.6
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#31460A
secondary
#482983
accent
#36F278
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31460A

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

Preview Lab → · Contrast checker → · Palette generator →

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