#334705#334705

#334705 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.090 H 126.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#334705
RGBrgb(51, 71, 5)
HSLhsl(78, 87%, 15%)
HSVhsv(78, 93%, 28%)
CMYKcmyk(28.2%, 0%, 93%, 72.2%)
CIE-LABlab(27.36, -18.25, 33.44)
CIE-LCHlch(27.36, 38.10, 118.62°)
OKLaboklab(36.76% -0.0531 0.0726)
OKLCHoklch(36.76% 0.09 126.2)
XYZxyz(3.6459, 5.2212, 0.9593)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334705 #190547
analogous
#473A05 #334705 #124705
triadic
#334705 #053347 #470533
tetradic
#334705 #05473A #190547 #470512
square
#334705 #05473A #190547 #470512
split-complementary
#334705 #051247 #3A0547
monochromatic
#151D02 #151D02 #334705 #5C8009 #85B90D

Accessibility & contrast

On white

10.27
#334705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#334705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334705
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334705#FFFFFF#000000##FFFFFF
##3347051.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#49400C
Tritanopia (blue-blind)
#36433B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334705;
/* rgb */ color: rgb(51, 71, 5);
/* oklch */ color: oklch(36.8% 0.090 126.2);
Tailwind
colors: {
  custom: {
    50: '#6e7a4c',
    500: '#334705',
    950: '#000000',
  },
}
SCSS
$custom: #334705;
$custom-light: #6e7a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#334705",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 78.182,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3676,
    "c": 0.08993,
    "h": 126.2
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#334705
secondary
#402187
accent
#2BFD6A
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #334705

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

Preview Lab → · Contrast checker → · Palette generator →

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