#334111#334111

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

Color values

HEX#334111
RGBrgb(51, 65, 17)
HSLhsl(78, 59%, 16%)
HSVhsv(78, 74%, 25%)
CMYKcmyk(21.5%, 0%, 73.8%, 74.5%)
CIE-LABlab(25.34, -14.13, 26.43)
CIE-LCHlch(25.34, 29.97, 118.12°)
OKLaboklab(35.15% -0.0407 0.0602)
OKLCHoklch(35.15% 0.073 124)
XYZxyz(3.3567, 4.5248, 1.2267)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334111 #1F1141
analogous
#413711 #334111 #1B4111
triadic
#334111 #113341 #411133
tetradic
#334111 #114137 #1F1141 #41111B
square
#334111 #114137 #1F1141 #41111B
split-complementary
#334111 #111B41 #371141
monochromatic
#131806 #131806 #334111 #59721E #7FA22A

Accessibility & contrast

On white

11.02
#334111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334111
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334111#FFFFFF#000000##FFFFFF
##3341111.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #334111;
/* rgb */ color: rgb(51, 65, 17);
/* oklch */ color: oklch(35.2% 0.073 124.0);
Tailwind
colors: {
  custom: {
    50: '#6c7552',
    500: '#334111',
    950: '#000000',
  },
}
SCSS
$custom: #334111;
$custom-light: #6c7552;
$custom-dark: #000000;
JSON
{
  "hex": "#334111",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 77.5,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35151,
    "c": 0.07264,
    "h": 124
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#334111
secondary
#48337B
accent
#46E273
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334111

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

Preview Lab → · Contrast checker → · Palette generator →

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