#334714#334714

#334714 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.079 H 128.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#334714
RGBrgb(51, 71, 20)
HSLhsl(84, 56%, 18%)
HSVhsv(84, 72%, 28%)
CMYKcmyk(28.2%, 0%, 71.8%, 72.2%)
CIE-LABlab(27.46, -17.21, 27.21)
CIE-LCHlch(27.46, 32.20, 122.32°)
OKLaboklab(36.88% -0.0488 0.0623)
OKLCHoklch(36.88% 0.079 128.1)
XYZxyz(3.7447, 5.2607, 1.4798)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334714 #281447
analogous
#474114 #334714 #1A4714
triadic
#334714 #143347 #471433
tetradic
#334714 #144741 #281447 #47141A
square
#334714 #144741 #281447 #47141A
split-complementary
#334714 #141A47 #411447
monochromatic
#111807 #111807 #334714 #557721 #78A62F

Accessibility & contrast

On white

10.23
#334714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#334714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334714
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334714#FFFFFF#000000##FFFFFF
##3347141.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420D
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#35443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334714;
/* rgb */ color: rgb(51, 71, 20);
/* oklch */ color: oklch(36.9% 0.079 128.1);
Tailwind
colors: {
  custom: {
    50: '#6d7a54',
    500: '#334714',
    950: '#000000',
  },
}
SCSS
$custom: #334714;
$custom-light: #6d7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#334714",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 20
  },
  "hsl": {
    "h": 83.529,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.07918,
    "h": 128.1
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#334714
secondary
#54387F
accent
#48DF84
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334714

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

Preview Lab → · Contrast checker → · Palette generator →

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