#334608#334608

#334608 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.087 H 126.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#334608
RGBrgb(51, 70, 8)
HSLhsl(78, 79%, 15%)
HSVhsv(78, 89%, 27%)
CMYKcmyk(27.1%, 0%, 88.6%, 72.5%)
CIE-LABlab(27.02, -17.54, 31.95)
CIE-LCHlch(27.02, 36.45, 118.76°)
OKLaboklab(36.49% -0.0509 0.0701)
OKLCHoklch(36.49% 0.087 126)
XYZxyz(3.5993, 5.1016, 1.0248)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334608 #1B0846
analogous
#463A08 #334608 #144608
triadic
#334608 #083346 #460833
tetradic
#334608 #08463A #1B0846 #460814
square
#334608 #08463A #1B0846 #460814
split-complementary
#334608 #081446 #3A0846
monochromatic
#141B03 #141B03 #334608 #5B7D0E #83B415

Accessibility & contrast

On white

10.39
#334608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#334608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334608
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334608#FFFFFF#000000##FFFFFF
##3346081.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4100
Deuteranopia (green-blind)
#48400F
Tritanopia (blue-blind)
#36423B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #334608;
/* rgb */ color: rgb(51, 70, 8);
/* oklch */ color: oklch(36.5% 0.087 126.0);
Tailwind
colors: {
  custom: {
    50: '#6d794e',
    500: '#334608',
    950: '#000000',
  },
}
SCSS
$custom: #334608;
$custom-light: #6d794e;
$custom-dark: #000000;
JSON
{
  "hex": "#334608",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 78.387,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.08664,
    "h": 126
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#334608
secondary
#432684
accent
#32F66E
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334608

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

Preview Lab → · Contrast checker → · Palette generator →

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