#334016#334016

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

Color values

HEX#334016
RGBrgb(51, 64, 22)
HSLhsl(79, 49%, 17%)
HSVhsv(79, 66%, 25%)
CMYKcmyk(20.3%, 0%, 65.6%, 74.9%)
CIE-LABlab(25.04, -13.07, 23.49)
CIE-LCHlch(25.04, 26.88, 119.09°)
OKLaboklab(34.93% -0.0372 0.0547)
OKLCHoklch(34.93% 0.066 124.2)
XYZxyz(3.3435, 4.4285, 1.4375)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334016 #231640
analogous
#403816 #334016 #1E4016
triadic
#334016 #163340 #401633
tetradic
#334016 #164038 #231640 #40161E
square
#334016 #164038 #231640 #40161E
split-complementary
#334016 #161E40 #381640
monochromatic
#121708 #121708 #334016 #576E26 #7C9B35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334016#FFFFFF#000000##FFFFFF
##3340161.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)
#443C12
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#353D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #334016;
/* rgb */ color: rgb(51, 64, 22);
/* oklch */ color: oklch(34.9% 0.066 124.2);
Tailwind
colors: {
  custom: {
    50: '#6c7455',
    500: '#334016',
    950: '#000000',
  },
}
SCSS
$custom: #334016;
$custom-light: #6c7455;
$custom-dark: #000000;
JSON
{
  "hex": "#334016",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 22
  },
  "hsl": {
    "h": 78.571,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.06613,
    "h": 124.2
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#334016
secondary
#4D3B77
accent
#4FD87A
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334016

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

Preview Lab → · Contrast checker → · Palette generator →

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