#334615#334615

#334615 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.6% C 0.077 H 127.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#334615
RGBrgb(51, 70, 21)
HSLhsl(83, 54%, 18%)
HSVhsv(83, 70%, 27%)
CMYKcmyk(27.1%, 0%, 70%, 72.5%)
CIE-LABlab(27.12, -16.57, 26.34)
CIE-LCHlch(27.12, 31.12, 122.17°)
OKLaboklab(36.61% -0.047 0.0606)
OKLCHoklch(36.61% 0.077 127.8)
XYZxyz(3.6908, 5.1382, 1.5066)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334615 #281546
analogous
#464015 #334615 #1B4615
triadic
#334615 #153346 #461533
tetradic
#334615 #154640 #281546 #46151B
square
#334615 #154640 #281546 #46151B
split-complementary
#334615 #151B46 #401546
monochromatic
#111807 #111807 #334615 #557523 #78A431

Accessibility & contrast

On white

10.36
#334615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#334615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334615
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334615#FFFFFF#000000##FFFFFF
##3346151.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410F
Deuteranopia (green-blind)
#474019
Tritanopia (blue-blind)
#35433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #334615;
/* rgb */ color: rgb(51, 70, 21);
/* oklch */ color: oklch(36.6% 0.077 127.8);
Tailwind
colors: {
  custom: {
    50: '#6c7955',
    500: '#334615',
    950: '#000000',
  },
}
SCSS
$custom: #334615;
$custom-light: #6c7955;
$custom-dark: #000000;
JSON
{
  "hex": "#334615",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 21
  },
  "hsl": {
    "h": 83.265,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36611,
    "c": 0.07669,
    "h": 127.8
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#334615
secondary
#54397E
accent
#4BDD83
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334615

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

Preview Lab → · Contrast checker → · Palette generator →

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