#33541F#33541F

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

Color values

HEX#33541F
RGBrgb(51, 84, 31)
HSLhsl(97, 46%, 23%)
HSVhsv(97, 63%, 33%)
CMYKcmyk(39.3%, 0%, 63.1%, 67.1%)
CIE-LABlab(32.13, -22.87, 26.73)
CIE-LCHlch(32.13, 35.18, 130.54°)
OKLaboklab(40.72% -0.0633 0.0627)
OKLCHoklch(40.72% 0.089 135.3)
XYZxyz(4.7828, 7.1432, 2.4228)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33541F #401F54
analogous
#4E541F #33541F #1F5425
triadic
#33541F #1F3354 #541F33
tetradic
#33541F #1F4E54 #401F54 #54251F
square
#33541F #1F4E54 #401F54 #54251F
split-complementary
#33541F #251F54 #541F4E
monochromatic
#0E1608 #18270F #33541F #4E812F #69AD40

Accessibility & contrast

On white

8.65
#33541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#33541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33541F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33541F#FFFFFF#000000##FFFFFF
##33541F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D19
Deuteranopia (green-blind)
#524B23
Tritanopia (blue-blind)
#325148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #33541f;
/* rgb */ color: rgb(51, 84, 31);
/* oklch */ color: oklch(40.7% 0.089 135.3);
Tailwind
colors: {
  custom: {
    50: '#6d845d',
    500: '#33541f',
    950: '#000000',
  },
}
SCSS
$custom: #33541f;
$custom-light: #6d845d;
$custom-dark: #000000;
JSON
{
  "hex": "#33541f",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 97.358,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.08914,
    "h": 135.3
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#33541F
secondary
#704689
accent
#52D6A4
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #33541F

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

Preview Lab → · Contrast checker → · Palette generator →

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