#315214#315214

#315214 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.097 H 133.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#315214
RGBrgb(49, 82, 20)
HSLhsl(92, 61%, 20%)
HSVhsv(92, 76%, 32%)
CMYKcmyk(40.2%, 0%, 75.6%, 67.8%)
CIE-LABlab(31.20, -23.79, 31.11)
CIE-LCHlch(31.20, 39.16, 127.41°)
OKLaboklab(39.89% -0.0667 0.0706)
OKLCHoklch(39.89% 0.097 133.4)
XYZxyz(4.4101, 6.7379, 1.7299)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315214 #351452
analogous
#505214 #315214 #145216
triadic
#315214 #143152 #521431
tetradic
#315214 #145052 #351452 #521614
square
#315214 #145052 #351452 #521614
split-complementary
#315214 #161452 #521450
monochromatic
#0F1906 #142108 #315214 #4E8320 #6CB42C

Accessibility & contrast

On white

8.95
#315214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#315214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315214
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315214#FFFFFF#000000##FFFFFF
##3152141.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0A
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#314E46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #315214;
/* rgb */ color: rgb(49, 82, 20);
/* oklch */ color: oklch(39.9% 0.097 133.4);
Tailwind
colors: {
  custom: {
    50: '#6c8356',
    500: '#315214',
    950: '#000000',
  },
}
SCSS
$custom: #315214;
$custom-light: #6c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#315214",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 91.935,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.09708,
    "h": 133.4
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#315214
secondary
#64388A
accent
#44E499
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315214

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

Preview Lab → · Contrast checker → · Palette generator →

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