#334114#334114

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

Color values

HEX#334114
RGBrgb(51, 65, 20)
HSLhsl(79, 53%, 17%)
HSVhsv(79, 69%, 25%)
CMYKcmyk(21.5%, 0%, 69.2%, 74.5%)
CIE-LABlab(25.37, -13.85, 24.93)
CIE-LCHlch(25.37, 28.52, 119.06°)
OKLaboklab(35.19% -0.0396 0.0575)
OKLCHoklch(35.19% 0.07 124.5)
XYZxyz(3.3818, 4.5349, 1.3588)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334114 #221441
analogous
#413914 #334114 #1D4114
triadic
#334114 #143341 #411433
tetradic
#334114 #144139 #221441 #41141D
square
#334114 #144139 #221441 #41141D
split-complementary
#334114 #141D41 #391441
monochromatic
#121707 #121707 #334114 #587022 #7C9F31

Accessibility & contrast

On white

11.01
#334114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334114
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334114#FFFFFF#000000##FFFFFF
##3341141.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0F
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#363E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334114;
/* rgb */ color: rgb(51, 65, 20);
/* oklch */ color: oklch(35.2% 0.070 124.5);
Tailwind
colors: {
  custom: {
    50: '#6c7554',
    500: '#334114',
    950: '#000000',
  },
}
SCSS
$custom: #334114;
$custom-light: #6c7554;
$custom-dark: #000000;
JSON
{
  "hex": "#334114",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 20
  },
  "hsl": {
    "h": 78.667,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35186,
    "c": 0.06979,
    "h": 124.5
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#334114
secondary
#4C3879
accent
#4BDC79
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334114

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

Preview Lab → · Contrast checker → · Palette generator →

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