#334017#334017

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

Color values

HEX#334017
RGBrgb(51, 64, 23)
HSLhsl(79, 47%, 17%)
HSVhsv(79, 64%, 25%)
CMYKcmyk(20.3%, 0%, 64.1%, 74.9%)
CIE-LABlab(25.05, -12.96, 22.95)
CIE-LCHlch(25.05, 26.36, 119.46°)
OKLaboklab(34.94% -0.0367 0.0537)
OKLCHoklch(34.94% 0.065 124.4)
XYZxyz(3.3533, 4.4324, 1.4893)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334017 #241740
analogous
#403917 #334017 #1F4017
triadic
#334017 #173340 #401733
tetradic
#334017 #174039 #241740 #40171F
square
#334017 #174039 #241740 #40171F
split-complementary
#334017 #171F40 #391740
monochromatic
#121708 #121708 #334017 #576D27 #7B9A37

Accessibility & contrast

On white

11.13
#334017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334017
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334017#FFFFFF#000000##FFFFFF
##3340171.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#423B1A
Tritanopia (blue-blind)
#353D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #334017;
/* rgb */ color: rgb(51, 64, 23);
/* oklch */ color: oklch(34.9% 0.065 124.4);
Tailwind
colors: {
  custom: {
    50: '#6c7455',
    500: '#334017',
    950: '#000000',
  },
}
SCSS
$custom: #334017;
$custom-light: #6c7455;
$custom-dark: #000000;
JSON
{
  "hex": "#334017",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 79.024,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34944,
    "c": 0.06505,
    "h": 124.4
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#334017
secondary
#4F3C77
accent
#51D77B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334017

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

Preview Lab → · Contrast checker → · Palette generator →

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