#33540D#33540D

#33540D is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.103 H 132.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#33540D
RGBrgb(51, 84, 13)
HSLhsl(88, 73%, 19%)
HSVhsv(88, 85%, 33%)
CMYKcmyk(39.3%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.97, -24.46, 34.73)
CIE-LCHlch(31.97, 42.48, 125.15°)
OKLaboklab(40.54% -0.0692 0.0769)
OKLCHoklch(40.54% 0.103 132)
XYZxyz(4.6082, 7.0733, 1.5032)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33540D #2E0D54
analogous
#54520D #33540D #10540D
triadic
#33540D #0D3354 #540D33
tetradic
#33540D #0D5452 #2E0D54 #540D10
square
#33540D #0D5452 #2E0D54 #540D10
split-complementary
#33540D #0D1054 #520D54
monochromatic
#101A04 #131F05 #33540D #538915 #73BE1D

Accessibility & contrast

On white

8.70
#33540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#33540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33540D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33540D#FFFFFF#000000##FFFFFF
##33540D1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#345047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33540d;
/* rgb */ color: rgb(51, 84, 13);
/* oklch */ color: oklch(40.5% 0.103 132.0);
Tailwind
colors: {
  custom: {
    50: '#6e8452',
    500: '#33540d',
    950: '#000000',
  },
}
SCSS
$custom: #33540d;
$custom-light: #6e8452;
$custom-dark: #000000;
JSON
{
  "hex": "#33540d",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 87.887,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40536,
    "c": 0.10349,
    "h": 132
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#33540D
secondary
#5B2E8F
accent
#38F08D
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #33540D

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

Preview Lab → · Contrast checker → · Palette generator →

#33540D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva