#334709#334709

#334709 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.087 H 126.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#334709
RGBrgb(51, 71, 9)
HSLhsl(79, 78%, 16%)
HSVhsv(79, 87%, 28%)
CMYKcmyk(28.2%, 0%, 87.3%, 72.2%)
CIE-LABlab(27.38, -18.02, 31.89)
CIE-LCHlch(27.38, 36.63, 119.47°)
OKLaboklab(36.79% -0.0521 0.0702)
OKLCHoklch(36.79% 0.087 126.6)
XYZxyz(3.6678, 5.2299, 1.0746)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334709 #1D0947
analogous
#473C09 #334709 #144709
triadic
#334709 #093347 #470933
tetradic
#334709 #09473C #1D0947 #470914
square
#334709 #09473C #1D0947 #470914
split-complementary
#334709 #091447 #3C0947
monochromatic
#141B03 #141B03 #334709 #5A7D10 #81B417

Accessibility & contrast

On white

10.26
#334709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334709
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334709#FFFFFF#000000##FFFFFF
##3347091.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#49400F
Tritanopia (blue-blind)
#35433C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334709;
/* rgb */ color: rgb(51, 71, 9);
/* oklch */ color: oklch(36.8% 0.087 126.6);
Tailwind
colors: {
  custom: {
    50: '#6d7a4e',
    500: '#334709',
    950: '#000000',
  },
}
SCSS
$custom: #334709;
$custom-light: #6d7a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#334709",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 9
  },
  "hsl": {
    "h": 79.355,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36787,
    "c": 0.08743,
    "h": 126.6
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#334709
secondary
#452784
accent
#34F472
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334709

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

Preview Lab → · Contrast checker → · Palette generator →

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