#334116#334116

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

Color values

HEX#334116
RGBrgb(51, 65, 22)
HSLhsl(80, 49%, 17%)
HSVhsv(80, 66%, 25%)
CMYKcmyk(21.5%, 0%, 66.2%, 74.5%)
CIE-LABlab(25.39, -13.65, 23.88)
CIE-LCHlch(25.39, 27.51, 119.74°)
OKLaboklab(35.21% -0.0388 0.0555)
OKLCHoklch(35.21% 0.068 124.9)
XYZxyz(3.4004, 4.5423, 1.4565)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334116 #241641
analogous
#413A16 #334116 #1E4116
triadic
#334116 #163341 #411633
tetradic
#334116 #16413A #241641 #41161E
square
#334116 #16413A #241641 #41161E
split-complementary
#334116 #161E41 #3A1641
monochromatic
#121708 #121708 #334116 #576F25 #7B9C35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334116#FFFFFF#000000##FFFFFF
##3341161.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)
#453D11
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#353E38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334116;
/* rgb */ color: rgb(51, 65, 22);
/* oklch */ color: oklch(35.2% 0.068 124.9);
Tailwind
colors: {
  custom: {
    50: '#6c7555',
    500: '#334116',
    950: '#000000',
  },
}
SCSS
$custom: #334116;
$custom-light: #6c7555;
$custom-dark: #000000;
JSON
{
  "hex": "#334116",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 22
  },
  "hsl": {
    "h": 79.535,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35211,
    "c": 0.06773,
    "h": 124.9
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#334116
secondary
#4F3A78
accent
#4FD97C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334116

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

Preview Lab → · Contrast checker → · Palette generator →

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