#334005#334005

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

Color values

HEX#334005
RGBrgb(51, 64, 5)
HSLhsl(73, 86%, 14%)
HSVhsv(73, 92%, 25%)
CMYKcmyk(20.3%, 0%, 92.2%, 74.9%)
CIE-LABlab(24.89, -14.38, 31.20)
CIE-LCHlch(24.89, 34.36, 114.74°)
OKLaboklab(34.77% -0.0426 0.068)
OKLCHoklch(34.77% 0.08 122.1)
XYZxyz(3.2261, 4.3815, 0.8193)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334005 #120540
analogous
#402F05 #334005 #154005
triadic
#334005 #053340 #400533
tetradic
#334005 #05402F #120540 #400515
square
#334005 #05402F #120540 #400515
split-complementary
#334005 #051540 #2F0540
monochromatic
#171C02 #171C02 #334005 #607909 #8DB20E

Accessibility & contrast

On white

11.19
#334005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334005
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334005#FFFFFF#000000##FFFFFF
##3340051.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453B00
Deuteranopia (green-blind)
#433B0B
Tritanopia (blue-blind)
#363C35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #334005;
/* rgb */ color: rgb(51, 64, 5);
/* oklch */ color: oklch(34.8% 0.080 122.1);
Tailwind
colors: {
  custom: {
    50: '#6d744b',
    500: '#334005',
    950: '#000000',
  },
}
SCSS
$custom: #334005;
$custom-light: #6d744b;
$custom-dark: #000000;
JSON
{
  "hex": "#334005",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 73.22,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.08027,
    "h": 122.1
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#334005
secondary
#352081
accent
#2CFC5A
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334005

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

Preview Lab → · Contrast checker → · Palette generator →

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