#314703#314703

#314703 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.092 H 127.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#314703
RGBrgb(49, 71, 3)
HSLhsl(79, 92%, 15%)
HSVhsv(79, 96%, 28%)
CMYKcmyk(31%, 0%, 95.8%, 72.2%)
CIE-LABlab(27.20, -19.30, 34.07)
CIE-LCHlch(27.20, 39.16, 119.53°)
OKLaboklab(36.59% -0.056 0.0735)
OKLCHoklch(36.59% 0.092 127.3)
XYZxyz(3.5363, 5.1659, 0.8969)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314703 #190347
analogous
#473B03 #314703 #0F4703
triadic
#314703 #033147 #470331
tetradic
#314703 #03473B #190347 #47030F
square
#314703 #03473B #190347 #47030F
split-complementary
#314703 #030F47 #3B0347
monochromatic
#141D01 #141D01 #314703 #5A8205 #82BC08

Accessibility & contrast

On white

10.33
#314703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#314703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314703
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314703#FFFFFF#000000##FFFFFF
##3147031.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#48400B
Tritanopia (blue-blind)
#33433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #314703;
/* rgb */ color: rgb(49, 71, 3);
/* oklch */ color: oklch(36.6% 0.092 127.3);
Tailwind
colors: {
  custom: {
    50: '#6c7a4b',
    500: '#314703',
    950: '#000000',
  },
}
SCSS
$custom: #314703;
$custom-light: #6c7a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#314703",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 79.412,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36594,
    "c": 0.09239,
    "h": 127.3
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#314703
secondary
#401E88
accent
#29FF6E
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #314703

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

Preview Lab → · Contrast checker → · Palette generator →

#314703 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva