#334605#334605

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

Color values

HEX#334605
RGBrgb(51, 70, 5)
HSLhsl(78, 87%, 15%)
HSVhsv(78, 93%, 27%)
CMYKcmyk(27.1%, 0%, 92.9%, 72.5%)
CIE-LABlab(27.00, -17.71, 33.14)
CIE-LCHlch(27.00, 37.58, 118.13°)
OKLaboklab(36.47% -0.0517 0.0719)
OKLCHoklch(36.47% 0.089 125.7)
XYZxyz(3.5828, 5.0950, 0.9382)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334605 #180546
analogous
#463905 #334605 #134605
triadic
#334605 #053346 #460533
tetradic
#334605 #054639 #180546 #460513
square
#334605 #054639 #180546 #460513
split-complementary
#334605 #051346 #390546
monochromatic
#151D02 #151D02 #334605 #5D7F09 #86B80D

Accessibility & contrast

On white

10.40
#334605 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334605
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334605#FFFFFF#000000##FFFFFF
##3346051.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #334605;
/* rgb */ color: rgb(51, 70, 5);
/* oklch */ color: oklch(36.5% 0.089 125.7);
Tailwind
colors: {
  custom: {
    50: '#6d794c',
    500: '#334605',
    950: '#000000',
  },
}
SCSS
$custom: #334605;
$custom-light: #6d794c;
$custom-dark: #000000;
JSON
{
  "hex": "#334605",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 5
  },
  "hsl": {
    "h": 77.538,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.36474,
    "c": 0.08855,
    "h": 125.7
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#334605
secondary
#3E2186
accent
#2BFD68
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #334605

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

Preview Lab → · Contrast checker → · Palette generator →

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