#334007#334007

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

Color values

HEX#334007
RGBrgb(51, 64, 7)
HSLhsl(74, 80%, 14%)
HSVhsv(74, 89%, 25%)
CMYKcmyk(20.3%, 0%, 89.1%, 74.9%)
CIE-LABlab(24.91, -14.26, 30.40)
CIE-LCHlch(24.91, 33.58, 115.13°)
OKLaboklab(34.78% -0.0421 0.0667)
OKLCHoklch(34.78% 0.079 122.2)
XYZxyz(3.2370, 4.3859, 0.8770)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334007 #140740
analogous
#403107 #334007 #174007
triadic
#334007 #073340 #400733
tetradic
#334007 #074031 #140740 #400717
square
#334007 #074031 #140740 #400717
split-complementary
#334007 #071740 #310740
monochromatic
#161C03 #161C03 #334007 #5F770D #8BAE13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334007#FFFFFF#000000##FFFFFF
##3340071.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)
#443B00
Deuteranopia (green-blind)
#433B0D
Tritanopia (blue-blind)
#363C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #334007;
/* rgb */ color: rgb(51, 64, 7);
/* oklch */ color: oklch(34.8% 0.079 122.2);
Tailwind
colors: {
  custom: {
    50: '#6d744c',
    500: '#334007',
    950: '#000000',
  },
}
SCSS
$custom: #334007;
$custom-light: #6d744c;
$custom-dark: #000000;
JSON
{
  "hex": "#334007",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 7
  },
  "hsl": {
    "h": 73.684,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34781,
    "c": 0.07885,
    "h": 122.2
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#334007
secondary
#39247F
accent
#31F75E
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334007

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

Preview Lab → · Contrast checker → · Palette generator →

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