#315310#315310

#315310 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.101 H 133.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#315310
RGBrgb(49, 83, 16)
HSLhsl(90, 68%, 19%)
HSVhsv(90, 81%, 33%)
CMYKcmyk(41%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.52, -24.59, 33.13)
CIE-LCHlch(31.52, 41.26, 126.59°)
OKLaboklab(40.14% -0.0692 0.0741)
OKLCHoklch(40.14% 0.101 133)
XYZxyz(4.4533, 6.8767, 1.5828)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315310 #321053
analogous
#535310 #315310 #105311
triadic
#315310 #103153 #531031
tetradic
#315310 #105353 #321053 #531110
square
#315310 #105353 #321053 #531110
split-complementary
#315310 #111053 #531053
monochromatic
#0F1A05 #132006 #315310 #4F861A #6EBA24

Accessibility & contrast

On white

8.84
#315310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#315310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315310
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315310#FFFFFF#000000##FFFFFF
##3153101.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#314F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #315310;
/* rgb */ color: rgb(49, 83, 16);
/* oklch */ color: oklch(40.1% 0.101 133.0);
Tailwind
colors: {
  custom: {
    50: '#6d8354',
    500: '#315310',
    950: '#000000',
  },
}
SCSS
$custom: #315310;
$custom-light: #6d8354;
$custom-dark: #000000;
JSON
{
  "hex": "#315310",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 90.448,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40144,
    "c": 0.10141,
    "h": 133
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#315310
secondary
#60328D
accent
#3DEB95
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315310

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

Preview Lab → · Contrast checker → · Palette generator →

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