#315113#315113

#315113 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.096 H 132.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#315113
RGBrgb(49, 81, 19)
HSLhsl(91, 62%, 20%)
HSVhsv(91, 77%, 32%)
CMYKcmyk(39.5%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.84, -23.38, 31.18)
CIE-LCHlch(30.84, 38.97, 126.86°)
OKLaboklab(39.59% -0.0657 0.0705)
OKLCHoklch(39.59% 0.096 132.9)
XYZxyz(4.3265, 6.5847, 1.6590)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315113 #331351
analogous
#505113 #315113 #135114
triadic
#315113 #133151 #511331
tetradic
#315113 #135051 #331351 #511413
square
#315113 #135051 #331351 #511413
split-complementary
#315113 #141351 #511350
monochromatic
#0F1906 #131F07 #315113 #4F831F #6DB42A

Accessibility & contrast

On white

9.06
#315113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#315113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315113
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315113#FFFFFF#000000##FFFFFF
##3151131.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A09
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#314D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #315113;
/* rgb */ color: rgb(49, 81, 19);
/* oklch */ color: oklch(39.6% 0.096 132.9);
Tailwind
colors: {
  custom: {
    50: '#6c8255',
    500: '#315113',
    950: '#000000',
  },
}
SCSS
$custom: #315113;
$custom-light: #6c8255;
$custom-dark: #000000;
JSON
{
  "hex": "#315113",
  "rgb": {
    "r": 49,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 90.968,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.09637,
    "h": 132.9
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#315113
secondary
#61368A
accent
#43E597
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315113

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

Preview Lab → · Contrast checker → · Palette generator →

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