#314B10#314B10

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

Color values

HEX#314B10
RGBrgb(49, 75, 16)
HSLhsl(86, 65%, 18%)
HSVhsv(86, 79%, 29%)
CMYKcmyk(34.7%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.70, -20.57, 30.32)
CIE-LCHlch(28.70, 36.64, 124.15°)
OKLaboklab(37.84% -0.0583 0.0683)
OKLCHoklch(37.84% 0.09 130.5)
XYZxyz(3.8762, 5.7224, 1.3904)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B10 #2A104B
analogous
#4B4710 #314B10 #134B10
triadic
#314B10 #10314B #4B1031
tetradic
#314B10 #104B47 #2A104B #4B1013
square
#314B10 #104B47 #2A104B #4B1013
split-complementary
#314B10 #10134B #47104B
monochromatic
#101905 #101905 #314B10 #527D1B #73B026

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314B10#FFFFFF#000000##FFFFFF
##314B101.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)
#4F4506
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b10;
/* rgb */ color: rgb(49, 75, 16);
/* oklch */ color: oklch(37.8% 0.090 130.5);
Tailwind
colors: {
  custom: {
    50: '#6c7d52',
    500: '#314b10',
    950: '#000000',
  },
}
SCSS
$custom: #314b10;
$custom-light: #6c7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#314b10",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 86.441,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3784,
    "c": 0.08976,
    "h": 130.5
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#314B10
secondary
#563285
accent
#40E88A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314B10

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

Preview Lab → · Contrast checker → · Palette generator →

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