#315313#315313

#315313 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.099 H 133.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#315313
RGBrgb(49, 83, 19)
HSLhsl(92, 63%, 20%)
HSVhsv(92, 77%, 33%)
CMYKcmyk(41%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.55, -24.37, 31.90)
CIE-LCHlch(31.55, 40.14, 127.37°)
OKLaboklab(40.17% -0.0683 0.0721)
OKLCHoklch(40.17% 0.099 133.5)
XYZxyz(4.4773, 6.8863, 1.7092)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315313 #351353
analogous
#515313 #315313 #135315
triadic
#315313 #133153 #531331
tetradic
#315313 #135153 #351353 #531513
square
#315313 #135153 #351353 #531513
split-complementary
#315313 #151353 #531351
monochromatic
#0F1906 #142108 #315313 #4E851E #6CB72A

Accessibility & contrast

On white

8.83
#315313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315313
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315313#FFFFFF#000000##FFFFFF
##3153131.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #315313;
/* rgb */ color: rgb(49, 83, 19);
/* oklch */ color: oklch(40.2% 0.099 133.5);
Tailwind
colors: {
  custom: {
    50: '#6c8355',
    500: '#315313',
    950: '#000000',
  },
}
SCSS
$custom: #315313;
$custom-light: #6c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#315313",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 91.875,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.40169,
    "c": 0.09931,
    "h": 133.5
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#315313
secondary
#64368B
accent
#42E699
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315313

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

Preview Lab → · Contrast checker → · Palette generator →

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