#314A0F#314A0F

#314A0F is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.089 H 130.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#314A0F
RGBrgb(49, 74, 15)
HSLhsl(85, 66%, 17%)
HSVhsv(85, 80%, 29%)
CMYKcmyk(33.8%, 0%, 79.7%, 71%)
CIE-LABlab(28.34, -20.13, 30.39)
CIE-LCHlch(28.34, 36.45, 123.51°)
OKLaboklab(37.54% -0.0572 0.0682)
OKLCHoklch(37.54% 0.089 130)
XYZxyz(3.8016, 5.5849, 1.3295)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A0F #280F4A
analogous
#4A460F #314A0F #134A0F
triadic
#314A0F #0F314A #4A0F31
tetradic
#314A0F #0F4A46 #280F4A #4A0F13
square
#314A0F #0F4A46 #280F4A #4A0F13
split-complementary
#314A0F #0F134A #460F4A
monochromatic
#111905 #111905 #314A0F #537D19 #74B024

Accessibility & contrast

On white

9.92
#314A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#314A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A0F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A0F#FFFFFF#000000##FFFFFF
##314A0F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#32463F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a0f;
/* rgb */ color: rgb(49, 74, 15);
/* oklch */ color: oklch(37.5% 0.089 130.0);
Tailwind
colors: {
  custom: {
    50: '#6c7c52',
    500: '#314a0f',
    950: '#000000',
  },
}
SCSS
$custom: #314a0f;
$custom-light: #6c7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#314a0f",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 85.424,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.08901,
    "h": 130
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#314A0F
secondary
#543084
accent
#3FE987
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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