#314D0F#314D0F

#314D0F is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.093 H 131.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#314D0F
RGBrgb(49, 77, 15)
HSLhsl(87, 67%, 18%)
HSVhsv(87, 81%, 30%)
CMYKcmyk(36.4%, 0%, 80.5%, 69.8%)
CIE-LABlab(29.40, -21.68, 31.44)
CIE-LCHlch(29.40, 38.19, 124.58°)
OKLaboklab(38.41% -0.0614 0.0704)
OKLCHoklch(38.41% 0.093 131.1)
XYZxyz(4.0067, 5.9951, 1.3979)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D0F #2B0F4D
analogous
#4D4A0F #314D0F #124D0F
triadic
#314D0F #0F314D #4D0F31
tetradic
#314D0F #0F4D4A #2B0F4D #4D0F12
square
#314D0F #0F4D4A #2B0F4D #4D0F12
split-complementary
#314D0F #0F124D #4A0F4D
monochromatic
#101A05 #101A05 #314D0F #528019 #72B323

Accessibility & contrast

On white

9.55
#314D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#314D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D0F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D0F#FFFFFF#000000##FFFFFF
##314D0F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#324941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314d0f;
/* rgb */ color: rgb(49, 77, 15);
/* oklch */ color: oklch(38.4% 0.093 131.1);
Tailwind
colors: {
  custom: {
    50: '#6c7f52',
    500: '#314d0f',
    950: '#000000',
  },
}
SCSS
$custom: #314d0f;
$custom-light: #6c7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#314d0f",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 87.097,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38407,
    "c": 0.09342,
    "h": 131.1
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#314D0F
secondary
#583187
accent
#3EEA8C
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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