#334009#334009

#334009 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.077 H 122.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#334009
RGBrgb(51, 64, 9)
HSLhsl(74, 75%, 14%)
HSVhsv(74, 86%, 25%)
CMYKcmyk(20.3%, 0%, 85.9%, 74.9%)
CIE-LABlab(24.92, -14.13, 29.60)
CIE-LCHlch(24.92, 32.80, 115.52°)
OKLaboklab(34.8% -0.0415 0.0654)
OKLCHoklch(34.8% 0.077 122.4)
XYZxyz(3.2480, 4.3903, 0.9347)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334009 #160940
analogous
#403209 #334009 #184009
triadic
#334009 #093340 #400933
tetradic
#334009 #094032 #160940 #400918
square
#334009 #094032 #160940 #400918
split-complementary
#334009 #091840 #320940
monochromatic
#151B04 #151B04 #334009 #5E7611 #89AB18

Accessibility & contrast

On white

11.18
#334009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#334009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334009
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334009#FFFFFF#000000##FFFFFF
##3340091.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B01
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#363C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #334009;
/* rgb */ color: rgb(51, 64, 9);
/* oklch */ color: oklch(34.8% 0.077 122.4);
Tailwind
colors: {
  custom: {
    50: '#6d744d',
    500: '#334009',
    950: '#000000',
  },
}
SCSS
$custom: #334009;
$custom-light: #6d744d;
$custom-dark: #000000;
JSON
{
  "hex": "#334009",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 74.182,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34797,
    "c": 0.07744,
    "h": 122.4
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#334009
secondary
#3B277E
accent
#36F262
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334009

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

Preview Lab → · Contrast checker → · Palette generator →

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