#33540F#33540F

#33540F is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.102 H 132.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#33540F
RGBrgb(51, 84, 15)
HSLhsl(89, 70%, 19%)
HSVhsv(89, 82%, 33%)
CMYKcmyk(39.3%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.99, -24.34, 34.01)
CIE-LCHlch(31.99, 41.82, 125.59°)
OKLaboklab(40.55% -0.0687 0.0757)
OKLCHoklch(40.55% 0.102 132.2)
XYZxyz(4.6217, 7.0788, 1.5747)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33540F #300F54
analogous
#54530F #33540F #10540F
triadic
#33540F #0F3354 #540F33
tetradic
#33540F #0F5453 #300F54 #540F10
square
#33540F #0F5453 #300F54 #540F10
split-complementary
#33540F #0F1054 #530F54
monochromatic
#101A05 #132006 #33540F #538818 #72BC22

Accessibility & contrast

On white

8.69
#33540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#33540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33540F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33540F#FFFFFF#000000##FFFFFF
##33540F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33540f;
/* rgb */ color: rgb(51, 84, 15);
/* oklch */ color: oklch(40.6% 0.102 132.2);
Tailwind
colors: {
  custom: {
    50: '#6e8453',
    500: '#33540f',
    950: '#000000',
  },
}
SCSS
$custom: #33540f;
$custom-light: #6e8453;
$custom-dark: #000000;
JSON
{
  "hex": "#33540f",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 88.696,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.10228,
    "h": 132.2
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#33540F
secondary
#5D318E
accent
#3BED90
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #33540F

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

Preview Lab → · Contrast checker → · Palette generator →

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