#31490C#31490C

#31490C is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.090 H 129.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#31490C
RGBrgb(49, 73, 12)
HSLhsl(84, 72%, 17%)
HSVhsv(84, 84%, 29%)
CMYKcmyk(32.9%, 0%, 83.6%, 71.4%)
CIE-LABlab(27.97, -19.81, 31.26)
CIE-LCHlch(27.97, 37.01, 122.37°)
OKLaboklab(37.23% -0.0566 0.0695)
OKLCHoklch(37.23% 0.09 129.2)
XYZxyz(3.7155, 5.4445, 1.2029)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31490C #240C49
analogous
#49430C #31490C #12490C
triadic
#31490C #0C3149 #490C31
tetradic
#31490C #0C4943 #240C49 #490C12
square
#31490C #0C4943 #240C49 #490C12
split-complementary
#31490C #0C1249 #430C49
monochromatic
#121A04 #121A04 #31490C #547E15 #78B21D

Accessibility & contrast

On white

10.05
#31490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31490C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31490C#FFFFFF#000000##FFFFFF
##31490C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#4A4112
Tritanopia (blue-blind)
#33453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #31490c;
/* rgb */ color: rgb(49, 73, 12);
/* oklch */ color: oklch(37.2% 0.090 129.2);
Tailwind
colors: {
  custom: {
    50: '#6c7c50',
    500: '#31490c',
    950: '#000000',
  },
}
SCSS
$custom: #31490c;
$custom-light: #6c7c50;
$custom-dark: #000000;
JSON
{
  "hex": "#31490c",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 83.607,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.08962,
    "h": 129.2
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#31490C
secondary
#4F2C85
accent
#39EE81
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #31490C

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

Preview Lab → · Contrast checker → · Palette generator →

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