#315413#315413

#315413 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.101 H 133.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#315413
RGBrgb(49, 84, 19)
HSLhsl(92, 63%, 20%)
HSVhsv(92, 77%, 33%)
CMYKcmyk(41.7%, 0%, 77.4%, 67.1%)
CIE-LABlab(31.90, -24.85, 32.26)
CIE-LCHlch(31.90, 40.72, 127.61°)
OKLaboklab(40.46% -0.0697 0.0728)
OKLCHoklch(40.46% 0.101 133.7)
XYZxyz(4.5544, 7.0404, 1.7349)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315413 #361354
analogous
#515413 #315413 #135416
triadic
#315413 #133154 #541331
tetradic
#315413 #135154 #361354 #541613
square
#315413 #135154 #361354 #541613
split-complementary
#315413 #161354 #541351
monochromatic
#0F1906 #142208 #315413 #4E861E #6BB82A

Accessibility & contrast

On white

8.72
#315413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#315413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315413
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315413#FFFFFF#000000##FFFFFF
##3154131.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#315047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #315413;
/* rgb */ color: rgb(49, 84, 19);
/* oklch */ color: oklch(40.5% 0.101 133.7);
Tailwind
colors: {
  custom: {
    50: '#6d8455',
    500: '#315413',
    950: '#000000',
  },
}
SCSS
$custom: #315413;
$custom-light: #6d8455;
$custom-dark: #000000;
JSON
{
  "hex": "#315413",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 92.308,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40457,
    "c": 0.10076,
    "h": 133.7
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#315413
secondary
#65368C
accent
#42E69A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315413

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

Preview Lab → · Contrast checker → · Palette generator →

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