#315513#315513

#315513 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.102 H 134.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#315513
RGBrgb(49, 85, 19)
HSLhsl(93, 63%, 20%)
HSVhsv(93, 78%, 33%)
CMYKcmyk(42.4%, 0%, 77.6%, 66.7%)
CIE-LABlab(32.25, -25.34, 32.61)
CIE-LCHlch(32.25, 41.30, 127.84°)
OKLaboklab(40.74% -0.071 0.0735)
OKLCHoklch(40.74% 0.102 134)
XYZxyz(4.6326, 7.1968, 1.7610)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315513 #371355
analogous
#525513 #315513 #135516
triadic
#315513 #133155 #551331
tetradic
#315513 #135255 #371355 #551613
square
#315513 #135255 #371355 #551613
split-complementary
#315513 #161355 #551352
monochromatic
#0E1906 #142308 #315513 #4E871E #6BB929

Accessibility & contrast

On white

8.61
#315513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#315513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315513
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315513#FFFFFF#000000##FFFFFF
##3155131.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#315148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #315513;
/* rgb */ color: rgb(49, 85, 19);
/* oklch */ color: oklch(40.7% 0.102 134.0);
Tailwind
colors: {
  custom: {
    50: '#6d8555',
    500: '#315513',
    950: '#000000',
  },
}
SCSS
$custom: #315513;
$custom-light: #6d8555;
$custom-dark: #000000;
JSON
{
  "hex": "#315513",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 19
  },
  "hsl": {
    "h": 92.727,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.10221,
    "h": 134
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#315513
secondary
#66368D
accent
#41E69B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315513

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

Preview Lab → · Contrast checker → · Palette generator →

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