#314B0F#314B0F

#314B0F is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.090 H 130.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#314B0F
RGBrgb(49, 75, 15)
HSLhsl(86, 67%, 18%)
HSVhsv(86, 80%, 29%)
CMYKcmyk(34.7%, 0%, 80%, 70.6%)
CIE-LABlab(28.69, -20.65, 30.74)
CIE-LCHlch(28.69, 37.03, 123.88°)
OKLaboklab(37.83% -0.0586 0.069)
OKLCHoklch(37.83% 0.091 130.4)
XYZxyz(3.8689, 5.7195, 1.3520)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B0F #290F4B
analogous
#4B470F #314B0F #134B0F
triadic
#314B0F #0F314B #4B0F31
tetradic
#314B0F #0F4B47 #290F4B #4B0F13
square
#314B0F #0F4B47 #290F4B #4B0F13
split-complementary
#314B0F #0F134B #470F4B
monochromatic
#111A05 #111A05 #314B0F #527E19 #74B123

Accessibility & contrast

On white

9.79
#314B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#314B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B0F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B0F#FFFFFF#000000##FFFFFF
##314B0F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b0f;
/* rgb */ color: rgb(49, 75, 15);
/* oklch */ color: oklch(37.8% 0.090 130.4);
Tailwind
colors: {
  custom: {
    50: '#6c7d52',
    500: '#314b0f',
    950: '#000000',
  },
}
SCSS
$custom: #314b0f;
$custom-light: #6c7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#314b0f",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 86,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.0905,
    "h": 130.4
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#314B0F
secondary
#553085
accent
#3EEA88
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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