#315010#315010

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

Color values

HEX#315010
RGBrgb(49, 80, 16)
HSLhsl(89, 67%, 19%)
HSVhsv(89, 80%, 31%)
CMYKcmyk(38.8%, 0%, 80%, 68.6%)
CIE-LABlab(30.47, -23.11, 32.09)
CIE-LCHlch(30.47, 39.54, 125.77°)
OKLaboklab(39.28% -0.0652 0.0719)
OKLCHoklch(39.28% 0.097 132.2)
XYZxyz(4.2288, 6.4275, 1.5079)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315010 #2F1050
analogous
#504F10 #315010 #115010
triadic
#315010 #103150 #501031
tetradic
#315010 #10504F #2F1050 #501011
square
#315010 #10504F #2F1050 #501011
split-complementary
#315010 #101150 #4F1050
monochromatic
#101A05 #121D06 #315010 #50831A #6FB624

Accessibility & contrast

On white

9.19
#315010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315010
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315010#FFFFFF#000000##FFFFFF
##3150101.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544905
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#324C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #315010;
/* rgb */ color: rgb(49, 80, 16);
/* oklch */ color: oklch(39.3% 0.097 132.2);
Tailwind
colors: {
  custom: {
    50: '#6c8153',
    500: '#315010',
    950: '#000000',
  },
}
SCSS
$custom: #315010;
$custom-light: #6c8153;
$custom-dark: #000000;
JSON
{
  "hex": "#315010",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 89.063,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.0971,
    "h": 132.2
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#315010
secondary
#5D328A
accent
#3EEA91
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315010

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

Preview Lab → · Contrast checker → · Palette generator →

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