#314018#314018

#314018 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.065 H 126.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#314018
RGBrgb(49, 64, 24)
HSLhsl(83, 45%, 17%)
HSVhsv(83, 63%, 25%)
CMYKcmyk(23.4%, 0%, 62.5%, 74.9%)
CIE-LABlab(24.91, -13.79, 22.18)
CIE-LCHlch(24.91, 26.12, 121.87°)
OKLaboklab(34.79% -0.0388 0.0522)
OKLCHoklch(34.79% 0.065 126.7)
XYZxyz(3.2649, 4.3857, 1.5385)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314018 #271840
analogous
#403B18 #314018 #1D4018
triadic
#314018 #183140 #401831
tetradic
#314018 #18403B #271840 #40181D
square
#314018 #18403B #271840 #40181D
split-complementary
#314018 #181D40 #3B1840
monochromatic
#111608 #111608 #314018 #536D29 #759939

Accessibility & contrast

On white

11.19
#314018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#314018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314018
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314018#FFFFFF#000000##FFFFFF
##3140181.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#413B1B
Tritanopia (blue-blind)
#333D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #314018;
/* rgb */ color: rgb(49, 64, 24);
/* oklch */ color: oklch(34.8% 0.065 126.7);
Tailwind
colors: {
  custom: {
    50: '#6a7456',
    500: '#314018',
    950: '#000000',
  },
}
SCSS
$custom: #314018;
$custom-light: #6a7456;
$custom-dark: #000000;
JSON
{
  "hex": "#314018",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 82.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3479,
    "c": 0.06502,
    "h": 126.7
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#314018
secondary
#533D77
accent
#53D584
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #314018

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

Preview Lab → · Contrast checker → · Palette generator →

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