#315013#315013

#315013 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.095 H 132.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#315013
RGBrgb(49, 80, 19)
HSLhsl(90, 62%, 19%)
HSVhsv(90, 76%, 31%)
CMYKcmyk(38.8%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.49, -22.88, 30.82)
CIE-LCHlch(30.49, 38.38, 126.59°)
OKLaboklab(39.31% -0.0643 0.0698)
OKLCHoklch(39.31% 0.095 132.7)
XYZxyz(4.2528, 6.4371, 1.6344)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315013 #321350
analogous
#505013 #315013 #135014
triadic
#315013 #133150 #501331
tetradic
#315013 #135050 #321350 #501413
square
#315013 #135050 #321350 #501413
split-complementary
#315013 #141350 #501350
monochromatic
#0F1906 #131F07 #315013 #4F811F #6EB32A

Accessibility & contrast

On white

9.18
#315013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#315013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315013
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315013#FFFFFF#000000##FFFFFF
##3150131.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544909
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#314C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #315013;
/* rgb */ color: rgb(49, 80, 19);
/* oklch */ color: oklch(39.3% 0.095 132.7);
Tailwind
colors: {
  custom: {
    50: '#6c8155',
    500: '#315013',
    950: '#000000',
  },
}
SCSS
$custom: #315013;
$custom-light: #6c8155;
$custom-dark: #000000;
JSON
{
  "hex": "#315013",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 90.492,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.0949,
    "h": 132.7
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#315013
secondary
#603689
accent
#43E595
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315013

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

Preview Lab → · Contrast checker → · Palette generator →

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