#31460C#31460C

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

Color values

HEX#31460C
RGBrgb(49, 70, 12)
HSLhsl(82, 71%, 16%)
HSVhsv(82, 83%, 27%)
CMYKcmyk(30%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.90, -18.22, 30.24)
CIE-LCHlch(26.90, 35.30, 121.08°)
OKLaboklab(36.37% -0.0523 0.0673)
OKLCHoklch(36.37% 0.085 127.8)
XYZxyz(3.5231, 5.0598, 1.1388)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31460C #210C46
analogous
#463E0C #31460C #14460C
triadic
#31460C #0C3146 #460C31
tetradic
#31460C #0C463E #210C46 #460C14
square
#31460C #0C463E #210C46 #460C14
split-complementary
#31460C #0C1446 #3E0C46
monochromatic
#121A04 #121A04 #31460C #567A15 #7AAE1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31460C#FFFFFF#000000##FFFFFF
##31460C1.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)
#4A4003
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#33423B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #31460c;
/* rgb */ color: rgb(49, 70, 12);
/* oklch */ color: oklch(36.4% 0.085 127.8);
Tailwind
colors: {
  custom: {
    50: '#6c7950',
    500: '#31460c',
    950: '#000000',
  },
}
SCSS
$custom: #31460c;
$custom-light: #6c7950;
$custom-dark: #000000;
JSON
{
  "hex": "#31460c",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 81.724,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.08525,
    "h": 127.8
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#31460C
secondary
#4B2C82
accent
#3AED7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31460C

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

Preview Lab → · Contrast checker → · Palette generator →

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