#314C10#314C10

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

Color values

HEX#314C10
RGBrgb(49, 76, 16)
HSLhsl(87, 65%, 18%)
HSVhsv(87, 79%, 30%)
CMYKcmyk(35.5%, 0%, 78.9%, 70.2%)
CIE-LABlab(29.05, -21.09, 30.68)
CIE-LCHlch(29.05, 37.23, 124.50°)
OKLaboklab(38.13% -0.0597 0.069)
OKLCHoklch(38.13% 0.091 130.9)
XYZxyz(3.9446, 5.8591, 1.4132)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C10 #2B104C
analogous
#4C4910 #314C10 #134C10
triadic
#314C10 #10314C #4C1031
tetradic
#314C10 #104C49 #2B104C #4C1013
square
#314C10 #104C49 #2B104C #4C1013
split-complementary
#314C10 #10134C #49104C
monochromatic
#101905 #101905 #314C10 #527F1B #72B125

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314C10#FFFFFF#000000##FFFFFF
##314C101.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)
#504606
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314c10;
/* rgb */ color: rgb(49, 76, 16);
/* oklch */ color: oklch(38.1% 0.091 130.9);
Tailwind
colors: {
  custom: {
    50: '#6c7e53',
    500: '#314c10',
    950: '#000000',
  },
}
SCSS
$custom: #314c10;
$custom-light: #6c7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#314c10",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 87,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38128,
    "c": 0.09124,
    "h": 130.9
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#314C10
secondary
#583286
accent
#40E88B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314C10

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

Preview Lab → · Contrast checker → · Palette generator →

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