#315219#315219

#315219 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.093 H 134.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#315219
RGBrgb(49, 82, 25)
HSLhsl(95, 53%, 21%)
HSVhsv(95, 70%, 32%)
CMYKcmyk(40.2%, 0%, 69.5%, 67.8%)
CIE-LABlab(31.25, -23.32, 28.79)
CIE-LCHlch(31.25, 37.05, 129.01°)
OKLaboklab(39.94% -0.065 0.0664)
OKLCHoklch(39.94% 0.093 134.4)
XYZxyz(4.4593, 6.7575, 1.9889)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315219 #3A1952
analogous
#4D5219 #315219 #19521D
triadic
#315219 #193152 #521931
tetradic
#315219 #194D52 #3A1952 #521D19
square
#315219 #194D52 #3A1952 #521D19
split-complementary
#315219 #1D1952 #52194D
monochromatic
#0E1707 #15230B #315219 #4D8127 #69B036

Accessibility & contrast

On white

8.93
#315219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315219
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315219#FFFFFF#000000##FFFFFF
##3152191.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#314F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #315219;
/* rgb */ color: rgb(49, 82, 25);
/* oklch */ color: oklch(39.9% 0.093 134.4);
Tailwind
colors: {
  custom: {
    50: '#6c8359',
    500: '#315219',
    950: '#000000',
  },
}
SCSS
$custom: #315219;
$custom-light: #6c8359;
$custom-dark: #000000;
JSON
{
  "hex": "#315219",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 94.737,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39943,
    "c": 0.09291,
    "h": 134.4
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#315219
secondary
#693E88
accent
#4BDD9F
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315219

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

Preview Lab → · Contrast checker → · Palette generator →

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