#334015#334015

#334015 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.9% C 0.067 H 124.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#334015
RGBrgb(51, 64, 21)
HSLhsl(78, 51%, 17%)
HSVhsv(78, 67%, 25%)
CMYKcmyk(20.3%, 0%, 67.2%, 74.9%)
CIE-LABlab(25.03, -13.17, 24.02)
CIE-LCHlch(25.03, 27.40, 118.74°)
OKLaboklab(34.92% -0.0376 0.0557)
OKLCHoklch(34.92% 0.067 124)
XYZxyz(3.3340, 4.4247, 1.3877)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334015 #221540
analogous
#403815 #334015 #1E4015
triadic
#334015 #153340 #401533
tetradic
#334015 #154038 #221540 #40151E
square
#334015 #154038 #221540 #40151E
split-complementary
#334015 #151E40 #381540
monochromatic
#121708 #121708 #334015 #586E24 #7C9C33

Accessibility & contrast

On white

11.14
#334015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#334015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334015
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334015#FFFFFF#000000##FFFFFF
##3340151.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C10
Deuteranopia (green-blind)
#423B18
Tritanopia (blue-blind)
#363D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #334015;
/* rgb */ color: rgb(51, 64, 21);
/* oklch */ color: oklch(34.9% 0.067 124.0);
Tailwind
colors: {
  custom: {
    50: '#6c7454',
    500: '#334015',
    950: '#000000',
  },
}
SCSS
$custom: #334015;
$custom-light: #6c7454;
$custom-dark: #000000;
JSON
{
  "hex": "#334015",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 78.14,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34917,
    "c": 0.06718,
    "h": 124
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#334015
secondary
#4C3978
accent
#4EDA78
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334015

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

Preview Lab → · Contrast checker → · Palette generator →

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