#314518#314518

#314518 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.073 H 129.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#314518
RGBrgb(49, 69, 24)
HSLhsl(87, 48%, 18%)
HSVhsv(87, 65%, 27%)
CMYKcmyk(29%, 0%, 65.2%, 72.9%)
CIE-LABlab(26.66, -16.61, 24.20)
CIE-LCHlch(26.66, 29.35, 124.47°)
OKLaboklab(36.21% -0.0466 0.0565)
OKLCHoklch(36.21% 0.073 129.5)
XYZxyz(3.5596, 4.9751, 1.6367)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314518 #2C1845
analogous
#454218 #314518 #1A4518
triadic
#314518 #183145 #451831
tetradic
#314518 #184542 #2C1845 #45181A
square
#314518 #184542 #2C1845 #45181A
split-complementary
#314518 #181A45 #421845
monochromatic
#101708 #111808 #314518 #517228 #71A038

Accessibility & contrast

On white

10.53
#314518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#314518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314518
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314518#FFFFFF#000000##FFFFFF
##3145181.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484013
Deuteranopia (green-blind)
#463F1B
Tritanopia (blue-blind)
#32423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #314518;
/* rgb */ color: rgb(49, 69, 24);
/* oklch */ color: oklch(36.2% 0.073 129.5);
Tailwind
colors: {
  custom: {
    50: '#6b7857',
    500: '#314518',
    950: '#000000',
  },
}
SCSS
$custom: #314518;
$custom-light: #6b7857;
$custom-dark: #000000;
JSON
{
  "hex": "#314518",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 24
  },
  "hsl": {
    "h": 86.667,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36211,
    "c": 0.07326,
    "h": 129.5
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#314518
secondary
#593D7C
accent
#50D88C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314518

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

Preview Lab → · Contrast checker → · Palette generator →

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