#31460F#31460F

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

Color values

HEX#31460F
RGBrgb(49, 70, 15)
HSLhsl(83, 65%, 17%)
HSVhsv(83, 79%, 27%)
CMYKcmyk(30%, 0%, 78.6%, 72.5%)
CIE-LABlab(26.93, -18.00, 28.97)
CIE-LCHlch(26.93, 34.11, 121.86°)
OKLaboklab(36.39% -0.0514 0.0653)
OKLCHoklch(36.39% 0.083 128.2)
XYZxyz(3.5430, 5.0677, 1.2433)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31460F #240F46
analogous
#46400F #31460F #16460F
triadic
#31460F #0F3146 #460F31
tetradic
#31460F #0F4640 #240F46 #460F16
square
#31460F #0F4640 #240F46 #460F16
split-complementary
#31460F #0F1646 #400F46
monochromatic
#121905 #121905 #31460F #54781A #78AB25

Accessibility & contrast

On white

10.43
#31460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31460F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31460F#FFFFFF#000000##FFFFFF
##31460F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4106
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#33433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #31460f;
/* rgb */ color: rgb(49, 70, 15);
/* oklch */ color: oklch(36.4% 0.083 128.2);
Tailwind
colors: {
  custom: {
    50: '#6b7951',
    500: '#31460f',
    950: '#000000',
  },
}
SCSS
$custom: #31460f;
$custom-light: #6b7951;
$custom-dark: #000000;
JSON
{
  "hex": "#31460f",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 82.909,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36395,
    "c": 0.08306,
    "h": 128.2
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#31460F
secondary
#4F3080
accent
#40E880
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31460F

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

Preview Lab → · Contrast checker → · Palette generator →

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