#314E0F#314E0F

#314E0F is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.095 H 131.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#314E0F
RGBrgb(49, 78, 15)
HSLhsl(88, 68%, 18%)
HSVhsv(88, 81%, 31%)
CMYKcmyk(37.2%, 0%, 80.8%, 69.4%)
CIE-LABlab(29.75, -22.18, 31.79)
CIE-LCHlch(29.75, 38.77, 124.90°)
OKLaboklab(38.7% -0.0628 0.0712)
OKLCHoklch(38.7% 0.095 131.4)
XYZxyz(4.0772, 6.1361, 1.4214)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E0F #2C0F4E
analogous
#4E4B0F #314E0F #114E0F
triadic
#314E0F #0F314E #4E0F31
tetradic
#314E0F #0F4E4B #2C0F4E #4E0F11
square
#314E0F #0F4E4B #2C0F4E #4E0F11
split-complementary
#314E0F #0F114E #4B0F4E
monochromatic
#101A05 #111B05 #314E0F #518119 #71B523

Accessibility & contrast

On white

9.43
#314E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#314E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E0F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E0F#FFFFFF#000000##FFFFFF
##314E0F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524704
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#324A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e0f;
/* rgb */ color: rgb(49, 78, 15);
/* oklch */ color: oklch(38.7% 0.095 131.4);
Tailwind
colors: {
  custom: {
    50: '#6c8052',
    500: '#314e0f',
    950: '#000000',
  },
}
SCSS
$custom: #314e0f;
$custom-light: #6c8052;
$custom-dark: #000000;
JSON
{
  "hex": "#314e0f",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 87.619,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.09488,
    "h": 131.4
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#314E0F
secondary
#593188
accent
#3DEB8D
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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