#315F10#315F10

#315F10 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.118 H 135.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#315F10
RGBrgb(49, 95, 16)
HSLhsl(95, 71%, 22%)
HSVhsv(95, 83%, 37%)
CMYKcmyk(48.4%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.74, -30.19, 37.19)
CIE-LCHlch(35.74, 47.90, 129.07°)
OKLaboklab(43.6% -0.0843 0.0826)
OKLCHoklch(43.6% 0.118 135.6)
XYZxyz(5.4522, 8.8745, 1.9158)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F10 #3E105F
analogous
#595F10 #315F10 #105F17
triadic
#315F10 #10315F #5F1031
tetradic
#315F10 #10595F #3E105F #5F1710
square
#315F10 #10595F #3E105F #5F1710
split-complementary
#315F10 #17105F #5F1059
monochromatic
#0E1A04 #162B07 #315F10 #4C9319 #67C822

Accessibility & contrast

On white

7.57
#315F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#315F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315F10
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F10#FFFFFF#000000##FFFFFF
##315F101.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#2F5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315f10;
/* rgb */ color: rgb(49, 95, 16);
/* oklch */ color: oklch(43.6% 0.118 135.6);
Tailwind
colors: {
  custom: {
    50: '#6e8d55',
    500: '#315f10',
    950: '#000000',
  },
}
SCSS
$custom: #315f10;
$custom-light: #6e8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#315f10",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 94.937,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.11804,
    "h": 135.6
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#315F10
secondary
#6E3398
accent
#3AEEA3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315F10

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

Preview Lab → · Contrast checker → · Palette generator →

#315F10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva