#315114#315114

#315114 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.096 H 133.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#315114
RGBrgb(49, 81, 20)
HSLhsl(91, 60%, 20%)
HSVhsv(91, 75%, 32%)
CMYKcmyk(39.5%, 0%, 75.3%, 68.2%)
CIE-LABlab(30.85, -23.29, 30.74)
CIE-LCHlch(30.85, 38.57, 127.15°)
OKLaboklab(39.6% -0.0653 0.0698)
OKLCHoklch(39.6% 0.096 133.1)
XYZxyz(4.3353, 6.5881, 1.7049)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315114 #341451
analogous
#505114 #315114 #145115
triadic
#315114 #143151 #511431
tetradic
#315114 #145051 #341451 #511514
square
#315114 #145051 #341451 #511514
split-complementary
#315114 #151451 #511450
monochromatic
#0F1906 #132008 #315114 #4F8220 #6CB32C

Accessibility & contrast

On white

9.06
#315114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#315114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315114
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315114#FFFFFF#000000##FFFFFF
##3151141.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0B
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#314E45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #315114;
/* rgb */ color: rgb(49, 81, 20);
/* oklch */ color: oklch(39.6% 0.096 133.1);
Tailwind
colors: {
  custom: {
    50: '#6c8255',
    500: '#315114',
    950: '#000000',
  },
}
SCSS
$custom: #315114;
$custom-light: #6c8255;
$custom-dark: #000000;
JSON
{
  "hex": "#315114",
  "rgb": {
    "r": 49,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 91.475,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39603,
    "c": 0.0956,
    "h": 133.1
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#315114
secondary
#623889
accent
#44E498
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315114

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

Preview Lab → · Contrast checker → · Palette generator →

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