#334209#334209

#334209 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.4% C 0.080 H 123.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#334209
RGBrgb(51, 66, 9)
HSLhsl(76, 76%, 15%)
HSVhsv(76, 86%, 26%)
CMYKcmyk(22.7%, 0%, 86.4%, 74.1%)
CIE-LABlab(25.62, -15.27, 30.26)
CIE-LCHlch(25.62, 33.89, 116.77°)
OKLaboklab(35.36% -0.0446 0.0668)
OKLCHoklch(35.36% 0.08 123.8)
XYZxyz(3.3628, 4.6199, 0.9730)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334209 #180942
analogous
#423409 #334209 #174209
triadic
#334209 #093342 #420933
tetradic
#334209 #094234 #180942 #420917
square
#334209 #094234 #180942 #420917
split-complementary
#334209 #091742 #340942
monochromatic
#151B04 #151B04 #334209 #5D7810 #86AE18

Accessibility & contrast

On white

10.91
#334209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#334209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334209
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334209#FFFFFF#000000##FFFFFF
##3342091.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#443D0F
Tritanopia (blue-blind)
#363E37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #334209;
/* rgb */ color: rgb(51, 66, 9);
/* oklch */ color: oklch(35.4% 0.080 123.8);
Tailwind
colors: {
  custom: {
    50: '#6d764e',
    500: '#334209',
    950: '#000000',
  },
}
SCSS
$custom: #334209;
$custom-light: #6d764e;
$custom-dark: #000000;
JSON
{
  "hex": "#334209",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 9
  },
  "hsl": {
    "h": 75.789,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35364,
    "c": 0.0803,
    "h": 123.8
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#334209
secondary
#3E2780
accent
#35F367
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334209

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

Preview Lab → · Contrast checker → · Palette generator →

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