#314C0F#314C0F

#314C0F is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.092 H 130.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#314C0F
RGBrgb(49, 76, 15)
HSLhsl(87, 67%, 18%)
HSVhsv(87, 80%, 30%)
CMYKcmyk(35.5%, 0%, 80.3%, 70.2%)
CIE-LABlab(29.05, -21.16, 31.09)
CIE-LCHlch(29.05, 37.61, 124.24°)
OKLaboklab(38.12% -0.06 0.0697)
OKLCHoklch(38.12% 0.092 130.7)
XYZxyz(3.9373, 5.8562, 1.3748)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C0F #2A0F4C
analogous
#4C480F #314C0F #134C0F
triadic
#314C0F #0F314C #4C0F31
tetradic
#314C0F #0F4C48 #2A0F4C #4C0F13
square
#314C0F #0F4C48 #2A0F4C #4C0F13
split-complementary
#314C0F #0F134C #480F4C
monochromatic
#101A05 #101A05 #314C0F #527F19 #73B223

Accessibility & contrast

On white

9.67
#314C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#314C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C0F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C0F#FFFFFF#000000##FFFFFF
##314C0F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314c0f;
/* rgb */ color: rgb(49, 76, 15);
/* oklch */ color: oklch(38.1% 0.092 130.7);
Tailwind
colors: {
  custom: {
    50: '#6c7e52',
    500: '#314c0f',
    950: '#000000',
  },
}
SCSS
$custom: #314c0f;
$custom-light: #6c7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#314c0f",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 86.557,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.09196,
    "h": 130.7
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#314C0F
secondary
#563186
accent
#3EEA8A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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