#334806#334806

#334806 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.091 H 126.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#334806
RGBrgb(51, 72, 6)
HSLhsl(79, 85%, 15%)
HSVhsv(79, 92%, 28%)
CMYKcmyk(29.2%, 0%, 91.7%, 71.8%)
CIE-LABlab(27.71, -18.73, 33.35)
CIE-LCHlch(27.71, 38.25, 119.32°)
OKLaboklab(37.05% -0.0543 0.0726)
OKLCHoklch(37.05% 0.091 126.8)
XYZxyz(3.7155, 5.3516, 1.0095)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334806 #1B0648
analogous
#483C06 #334806 #124806
triadic
#334806 #063348 #480633
tetradic
#334806 #06483C #1B0648 #480612
square
#334806 #06483C #1B0648 #480612
split-complementary
#334806 #061248 #3C0648
monochromatic
#141C02 #141C02 #334806 #5B800B #83B90F

Accessibility & contrast

On white

10.14
#334806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#334806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334806
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334806#FFFFFF#000000##FFFFFF
##3348061.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#49410D
Tritanopia (blue-blind)
#36443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334806;
/* rgb */ color: rgb(51, 72, 6);
/* oklch */ color: oklch(37.1% 0.091 126.8);
Tailwind
colors: {
  custom: {
    50: '#6e7b4d',
    500: '#334806',
    950: '#000000',
  },
}
SCSS
$custom: #334806;
$custom-light: #6e7b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#334806",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 6
  },
  "hsl": {
    "h": 79.091,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.37053,
    "c": 0.0907,
    "h": 126.8
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#334806
secondary
#432387
accent
#2DFB6E
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334806

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

Preview Lab → · Contrast checker → · Palette generator →

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