#334814#334814

#334814 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.081 H 128.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#334814
RGBrgb(51, 72, 20)
HSLhsl(84, 57%, 18%)
HSVhsv(84, 72%, 28%)
CMYKcmyk(29.2%, 0%, 72.2%, 71.8%)
CIE-LABlab(27.82, -17.76, 27.59)
CIE-LCHlch(27.82, 32.81, 122.77°)
OKLaboklab(37.17% -0.0503 0.0631)
OKLCHoklch(37.17% 0.081 128.6)
XYZxyz(3.8089, 5.3890, 1.5012)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334814 #291448
analogous
#484314 #334814 #194814
triadic
#334814 #143348 #481433
tetradic
#334814 #144843 #291448 #481419
square
#334814 #144843 #291448 #481419
split-complementary
#334814 #141948 #431448
monochromatic
#111807 #111807 #334814 #557821 #77A82F

Accessibility & contrast

On white

10.11
#334814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#334814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334814
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334814#FFFFFF#000000##FFFFFF
##3348141.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430D
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#35453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334814;
/* rgb */ color: rgb(51, 72, 20);
/* oklch */ color: oklch(37.2% 0.081 128.6);
Tailwind
colors: {
  custom: {
    50: '#6d7b54',
    500: '#334814',
    950: '#000000',
  },
}
SCSS
$custom: #334814;
$custom-light: #6d7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#334814",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 20
  },
  "hsl": {
    "h": 84.231,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37167,
    "c": 0.08073,
    "h": 128.6
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#334814
secondary
#553880
accent
#48E085
background
#F6F7F5
surface
#ECEDE8
border
#C7C8C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334814

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

Preview Lab → · Contrast checker → · Palette generator →

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