#33541B#33541B

#33541B is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.093 H 134.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#33541B
RGBrgb(51, 84, 27)
HSLhsl(95, 51%, 22%)
HSVhsv(95, 68%, 33%)
CMYKcmyk(39.3%, 0%, 67.9%, 67.1%)
CIE-LABlab(32.09, -23.31, 28.75)
CIE-LCHlch(32.09, 37.01, 129.04°)
OKLaboklab(40.66% -0.0649 0.0666)
OKLCHoklch(40.66% 0.093 134.3)
XYZxyz(4.7333, 7.1234, 2.1623)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33541B #3C1B54
analogous
#50541B #33541B #1B5420
triadic
#33541B #1B3354 #541B33
tetradic
#33541B #1B5054 #3C1B54 #54201B
square
#33541B #1B5054 #3C1B54 #54201B
split-complementary
#33541B #201B54 #541B50
monochromatic
#0E1707 #17260C #33541B #4F822A #6BB139

Accessibility & contrast

On white

8.66
#33541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#33541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33541B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33541B#FFFFFF#000000##FFFFFF
##33541B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D14
Deuteranopia (green-blind)
#534A1F
Tritanopia (blue-blind)
#335148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33541b;
/* rgb */ color: rgb(51, 84, 27);
/* oklch */ color: oklch(40.7% 0.093 134.3);
Tailwind
colors: {
  custom: {
    50: '#6d845a',
    500: '#33541b',
    950: '#000000',
  },
}
SCSS
$custom: #33541b;
$custom-light: #6d845a;
$custom-dark: #000000;
JSON
{
  "hex": "#33541b",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 94.737,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.09297,
    "h": 134.3
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#33541B
secondary
#6B418A
accent
#4DDB9F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #33541B

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

Preview Lab → · Contrast checker → · Palette generator →

#33541B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva