#315314#315314

#315314 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.099 H 133.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#315314
RGBrgb(49, 83, 20)
HSLhsl(92, 61%, 20%)
HSVhsv(92, 76%, 33%)
CMYKcmyk(41%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.55, -24.28, 31.47)
CIE-LCHlch(31.55, 39.75, 127.65°)
OKLaboklab(40.18% -0.068 0.0713)
OKLCHoklch(40.18% 0.099 133.7)
XYZxyz(4.4861, 6.8898, 1.7552)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315314 #361453
analogous
#505314 #315314 #145316
triadic
#315314 #143153 #531431
tetradic
#315314 #145053 #361453 #531614
square
#315314 #145053 #361453 #531614
split-complementary
#315314 #161453 #531450
monochromatic
#0F1906 #142208 #315314 #4E8420 #6BB62C

Accessibility & contrast

On white

8.83
#315314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#315314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315314
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315314#FFFFFF#000000##FFFFFF
##3153141.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0A
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#314F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #315314;
/* rgb */ color: rgb(49, 83, 20);
/* oklch */ color: oklch(40.2% 0.099 133.7);
Tailwind
colors: {
  custom: {
    50: '#6c8356',
    500: '#315314',
    950: '#000000',
  },
}
SCSS
$custom: #315314;
$custom-light: #6c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#315314",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 92.381,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.09856,
    "h": 133.7
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#315314
secondary
#65388B
accent
#44E49A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315314

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

Preview Lab → · Contrast checker → · Palette generator →

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