#334511#334511

#334511 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.079 H 126.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#334511
RGBrgb(51, 69, 17)
HSLhsl(81, 60%, 17%)
HSVhsv(81, 75%, 27%)
CMYKcmyk(26.1%, 0%, 75.4%, 72.9%)
CIE-LABlab(26.74, -16.38, 27.90)
CIE-LCHlch(26.74, 32.35, 120.41°)
OKLaboklab(36.28% -0.0469 0.0633)
OKLCHoklch(36.28% 0.079 126.5)
XYZxyz(3.5945, 5.0005, 1.3060)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334511 #231145
analogous
#453D11 #334511 #194511
triadic
#334511 #113345 #451133
tetradic
#334511 #11453D #231145 #451119
square
#334511 #11453D #231145 #451119
split-complementary
#334511 #111945 #3D1145
monochromatic
#121906 #121906 #334511 #57761D #7CA729

Accessibility & contrast

On white

10.50
#334511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#334511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334511
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334511#FFFFFF#000000##FFFFFF
##3345111.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400A
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#35413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334511;
/* rgb */ color: rgb(51, 69, 17);
/* oklch */ color: oklch(36.3% 0.079 126.5);
Tailwind
colors: {
  custom: {
    50: '#6d7852',
    500: '#334511',
    950: '#000000',
  },
}
SCSS
$custom: #334511;
$custom-light: #6d7852;
$custom-dark: #000000;
JSON
{
  "hex": "#334511",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 17
  },
  "hsl": {
    "h": 80.769,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.07875,
    "h": 126.5
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#334511
secondary
#4D337F
accent
#44E47B
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334511

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

Preview Lab → · Contrast checker → · Palette generator →

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