#334117#334117

#334117 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.2% C 0.067 H 125.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#334117
RGBrgb(51, 65, 23)
HSLhsl(80, 48%, 17%)
HSVhsv(80, 65%, 25%)
CMYKcmyk(21.5%, 0%, 64.6%, 74.5%)
CIE-LABlab(25.40, -13.54, 23.35)
CIE-LCHlch(25.40, 26.99, 120.11°)
OKLaboklab(35.23% -0.0384 0.0545)
OKLCHoklch(35.23% 0.067 125.1)
XYZxyz(3.4102, 4.5462, 1.5083)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334117 #251741
analogous
#413A17 #334117 #1E4117
triadic
#334117 #173341 #411733
tetradic
#334117 #17413A #251741 #41171E
square
#334117 #17413A #251741 #41171E
split-complementary
#334117 #171E41 #3A1741
monochromatic
#121708 #121708 #334117 #566E27 #7A9B37

Accessibility & contrast

On white

11.00
#334117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#334117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334117
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334117#FFFFFF#000000##FFFFFF
##3341171.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D13
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#353E38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334117;
/* rgb */ color: rgb(51, 65, 23);
/* oklch */ color: oklch(35.2% 0.067 125.1);
Tailwind
colors: {
  custom: {
    50: '#6c7556',
    500: '#334117',
    950: '#000000',
  },
}
SCSS
$custom: #334117;
$custom-light: #6c7556;
$custom-dark: #000000;
JSON
{
  "hex": "#334117",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35225,
    "c": 0.06666,
    "h": 125.1
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#334117
secondary
#503C78
accent
#50D77D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334117

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

Preview Lab → · Contrast checker → · Palette generator →

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