#315014#315014

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

Color values

HEX#315014
RGBrgb(49, 80, 20)
HSLhsl(91, 60%, 20%)
HSVhsv(91, 75%, 31%)
CMYKcmyk(38.8%, 0%, 75%, 68.6%)
CIE-LABlab(30.50, -22.79, 30.38)
CIE-LCHlch(30.50, 37.98, 126.89°)
OKLaboklab(39.32% -0.064 0.069)
OKLCHoklch(39.32% 0.094 132.8)
XYZxyz(4.2615, 6.4406, 1.6803)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315014 #331450
analogous
#4F5014 #315014 #145015
triadic
#315014 #143150 #501431
tetradic
#315014 #144F50 #331450 #501514
square
#315014 #144F50 #331450 #501514
split-complementary
#315014 #151450 #50144F
monochromatic
#0F1806 #131F08 #315014 #4F8120 #6DB22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315014#FFFFFF#000000##FFFFFF
##3150141.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)
#54490B
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#314D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #315014;
/* rgb */ color: rgb(49, 80, 20);
/* oklch */ color: oklch(39.3% 0.094 132.8);
Tailwind
colors: {
  custom: {
    50: '#6c8155',
    500: '#315014',
    950: '#000000',
  },
}
SCSS
$custom: #315014;
$custom-light: #6c8155;
$custom-dark: #000000;
JSON
{
  "hex": "#315014",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 91,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39315,
    "c": 0.09411,
    "h": 132.8
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#315014
secondary
#613888
accent
#45E397
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315014

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

Preview Lab → · Contrast checker → · Palette generator →

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