#31490F#31490F

#31490F is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.088 H 129.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#31490F
RGBrgb(49, 73, 15)
HSLhsl(85, 66%, 17%)
HSVhsv(85, 79%, 29%)
CMYKcmyk(32.9%, 0%, 79.5%, 71.4%)
CIE-LABlab(27.99, -19.60, 30.04)
CIE-LCHlch(27.99, 35.87, 123.13°)
OKLaboklab(37.26% -0.0557 0.0675)
OKLCHoklch(37.26% 0.088 129.6)
XYZxyz(3.7354, 5.4524, 1.3075)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31490F #270F49
analogous
#49440F #31490F #14490F
triadic
#31490F #0F3149 #490F31
tetradic
#31490F #0F4944 #270F49 #490F14
square
#31490F #0F4944 #270F49 #490F14
split-complementary
#31490F #0F1449 #440F49
monochromatic
#111905 #111905 #31490F #537C19 #75AF24

Accessibility & contrast

On white

10.04
#31490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#31490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31490F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31490F#FFFFFF#000000##FFFFFF
##31490F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#33453E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31490f;
/* rgb */ color: rgb(49, 73, 15);
/* oklch */ color: oklch(37.3% 0.088 129.6);
Tailwind
colors: {
  custom: {
    50: '#6c7c52',
    500: '#31490f',
    950: '#000000',
  },
}
SCSS
$custom: #31490f;
$custom-light: #6c7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#31490f",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 84.828,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37257,
    "c": 0.08753,
    "h": 129.6
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#31490F
secondary
#533083
accent
#3FE985
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31490F

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

Preview Lab → · Contrast checker → · Palette generator →

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