#314F10#314F10

#314F10 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.096 H 131.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#314F10
RGBrgb(49, 79, 16)
HSLhsl(89, 66%, 19%)
HSVhsv(89, 80%, 31%)
CMYKcmyk(38%, 0%, 79.7%, 69%)
CIE-LABlab(30.11, -22.61, 31.74)
CIE-LCHlch(30.11, 38.97, 125.47°)
OKLaboklab(38.99% -0.0638 0.0712)
OKLCHoklch(38.99% 0.096 131.9)
XYZxyz(4.1561, 6.2822, 1.4837)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F10 #2E104F
analogous
#4F4D10 #314F10 #114F10
triadic
#314F10 #10314F #4F1031
tetradic
#314F10 #104F4D #2E104F #4F1011
square
#314F10 #104F4D #2E104F #4F1011
split-complementary
#314F10 #10114F #4D104F
monochromatic
#101905 #111C06 #314F10 #51821A #70B525

Accessibility & contrast

On white

9.31
#314F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#314F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F10
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F10#FFFFFF#000000##FFFFFF
##314F101.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534805
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#324B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314f10;
/* rgb */ color: rgb(49, 79, 16);
/* oklch */ color: oklch(39.0% 0.096 131.9);
Tailwind
colors: {
  custom: {
    50: '#6c8053',
    500: '#314f10',
    950: '#000000',
  },
}
SCSS
$custom: #314f10;
$custom-light: #6c8053;
$custom-dark: #000000;
JSON
{
  "hex": "#314f10",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 88.571,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38992,
    "c": 0.09564,
    "h": 131.9
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#314F10
secondary
#5B3289
accent
#3FE990
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314F10

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

Preview Lab → · Contrast checker → · Palette generator →

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