#315E10#315E10

#315E10 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.117 H 135.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#315E10
RGBrgb(49, 94, 16)
HSLhsl(95, 71%, 22%)
HSVhsv(95, 83%, 37%)
CMYKcmyk(47.9%, 0%, 83%, 63.1%)
CIE-LABlab(35.39, -29.74, 36.86)
CIE-LCHlch(35.39, 47.36, 128.90°)
OKLaboklab(43.31% -0.0831 0.0819)
OKLCHoklch(43.31% 0.117 135.4)
XYZxyz(5.3627, 8.6955, 1.8859)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E10 #3D105E
analogous
#585E10 #315E10 #105E16
triadic
#315E10 #10315E #5E1031
tetradic
#315E10 #10585E #3D105E #5E1610
square
#315E10 #10585E #3D105E #5E1610
split-complementary
#315E10 #16105E #5E1058
monochromatic
#0E1A04 #162A07 #315E10 #4C9219 #68C722

Accessibility & contrast

On white

7.67
#315E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#315E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E10
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E10#FFFFFF#000000##FFFFFF
##315E101.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#305A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e10;
/* rgb */ color: rgb(49, 94, 16);
/* oklch */ color: oklch(43.3% 0.117 135.4);
Tailwind
colors: {
  custom: {
    50: '#6e8c55',
    500: '#315e10',
    950: '#000000',
  },
}
SCSS
$custom: #315e10;
$custom-light: #6e8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#315e10",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 94.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.1167,
    "h": 135.4
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#315E10
secondary
#6D3397
accent
#3AEEA2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315E10

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

Preview Lab → · Contrast checker → · Palette generator →

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