#334515#334515

#334515 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.075 H 127.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#334515
RGBrgb(51, 69, 21)
HSLhsl(83, 53%, 18%)
HSVhsv(83, 70%, 27%)
CMYKcmyk(26.1%, 0%, 69.6%, 72.9%)
CIE-LABlab(26.77, -16.01, 25.95)
CIE-LCHlch(26.77, 30.50, 121.67°)
OKLaboklab(36.33% -0.0454 0.0598)
OKLCHoklch(36.33% 0.075 127.2)
XYZxyz(3.6287, 5.0141, 1.4860)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334515 #271545
analogous
#453F15 #334515 #1B4515
triadic
#334515 #153345 #451533
tetradic
#334515 #15453F #271545 #45151B
square
#334515 #15453F #271545 #45151B
split-complementary
#334515 #151B45 #3F1545
monochromatic
#111707 #111707 #334515 #567423 #78A332

Accessibility & contrast

On white

10.49
#334515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#334515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334515
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334515#FFFFFF#000000##FFFFFF
##3345151.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400F
Deuteranopia (green-blind)
#463F19
Tritanopia (blue-blind)
#35423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334515;
/* rgb */ color: rgb(51, 69, 21);
/* oklch */ color: oklch(36.3% 0.075 127.2);
Tailwind
colors: {
  custom: {
    50: '#6c7855',
    500: '#334515',
    950: '#000000',
  },
}
SCSS
$custom: #334515;
$custom-light: #6c7855;
$custom-dark: #000000;
JSON
{
  "hex": "#334515",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 82.5,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36328,
    "c": 0.07511,
    "h": 127.2
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#334515
secondary
#52397D
accent
#4BDD82
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334515

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

Preview Lab → · Contrast checker → · Palette generator →

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