#314F13#314F13

#314F13 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.093 H 132.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#314F13
RGBrgb(49, 79, 19)
HSLhsl(90, 61%, 19%)
HSVhsv(90, 76%, 31%)
CMYKcmyk(38%, 0%, 75.9%, 69%)
CIE-LABlab(30.14, -22.38, 30.46)
CIE-LCHlch(30.14, 37.79, 126.31°)
OKLaboklab(39.02% -0.0629 0.069)
OKLCHoklch(39.02% 0.093 132.4)
XYZxyz(4.1801, 6.2918, 1.6102)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F13 #31134F
analogous
#4F4F13 #314F13 #134F13
triadic
#314F13 #13314F #4F1331
tetradic
#314F13 #134F4F #31134F #4F1313
square
#314F13 #134F4F #31134F #4F1313
split-complementary
#314F13 #13134F #4F134F
monochromatic
#0F1906 #121E07 #314F13 #50801F #6EB22B

Accessibility & contrast

On white

9.30
#314F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#314F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F13
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F13#FFFFFF#000000##FFFFFF
##314F131.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53480A
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#324C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f13;
/* rgb */ color: rgb(49, 79, 19);
/* oklch */ color: oklch(39.0% 0.093 132.4);
Tailwind
colors: {
  custom: {
    50: '#6c8055',
    500: '#314f13',
    950: '#000000',
  },
}
SCSS
$custom: #314f13;
$custom-light: #6c8055;
$custom-dark: #000000;
JSON
{
  "hex": "#314f13",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 90,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.09341,
    "h": 132.4
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#314F13
secondary
#5F3688
accent
#43E494
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F13

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

Preview Lab → · Contrast checker → · Palette generator →

#314F13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva