#313A10#313A10

#313A10 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.064 H 120.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#313A10
RGBrgb(49, 58, 16)
HSLhsl(73, 57%, 15%)
HSVhsv(73, 72%, 23%)
CMYKcmyk(15.5%, 0%, 72.4%, 77.3%)
CIE-LABlab(22.71, -11.10, 24.09)
CIE-LCHlch(22.71, 26.53, 114.74°)
OKLaboklab(32.99% -0.0322 0.0551)
OKLCHoklch(32.99% 0.064 120.3)
XYZxyz(2.8732, 3.7165, 1.0561)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A10 #19103A
analogous
#3A2E10 #313A10 #1C3A10
triadic
#313A10 #10313A #3A1031
tetradic
#313A10 #103A2E #19103A #3A101C
square
#313A10 #103A2E #19103A #3A101C
split-complementary
#313A10 #101C3A #2E103A
monochromatic
#141807 #141807 #313A10 #5A6A1D #829A2A

Accessibility & contrast

On white

12.05
#313A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#313A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313A10
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A10#FFFFFF#000000##FFFFFF
##313A101.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360B
Deuteranopia (green-blind)
#3D3613
Tritanopia (blue-blind)
#343731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313a10;
/* rgb */ color: rgb(49, 58, 16);
/* oklch */ color: oklch(33.0% 0.064 120.3);
Tailwind
colors: {
  custom: {
    50: '#6a7050',
    500: '#313a10',
    950: '#000000',
  },
}
SCSS
$custom: #313a10;
$custom-light: #6a7050;
$custom-dark: #000000;
JSON
{
  "hex": "#313a10",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 16
  },
  "hsl": {
    "h": 72.857,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3299,
    "c": 0.06387,
    "h": 120.3
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#313A10
secondary
#403274
accent
#48E068
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313A10

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

Preview Lab → · Contrast checker → · Palette generator →

#313A10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva