#33531B#33531B

#33531B is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.091 H 134.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#33531B
RGBrgb(51, 83, 27)
HSLhsl(94, 51%, 22%)
HSVhsv(94, 67%, 33%)
CMYKcmyk(38.6%, 0%, 67.5%, 67.5%)
CIE-LABlab(31.74, -22.81, 28.36)
CIE-LCHlch(31.74, 36.40, 128.81°)
OKLaboklab(40.38% -0.0635 0.0657)
OKLCHoklch(40.38% 0.091 134)
XYZxyz(4.6562, 6.9693, 2.1366)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33531B #3B1B53
analogous
#4F531B #33531B #1B531F
triadic
#33531B #1B3353 #531B33
tetradic
#33531B #1B4F53 #3B1B53 #531F1B
square
#33531B #1B4F53 #3B1B53 #531F1B
split-complementary
#33531B #1F1B53 #531B4F
monochromatic
#0E1708 #17250C #33531B #4F812A #6CAF39

Accessibility & contrast

On white

8.77
#33531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#33531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33531B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33531B#FFFFFF#000000##FFFFFF
##33531B1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#335047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33531b;
/* rgb */ color: rgb(51, 83, 27);
/* oklch */ color: oklch(40.4% 0.091 134.0);
Tailwind
colors: {
  custom: {
    50: '#6d835a',
    500: '#33531b',
    950: '#000000',
  },
}
SCSS
$custom: #33531b;
$custom-light: #6d835a;
$custom-dark: #000000;
JSON
{
  "hex": "#33531b",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 94.286,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.09142,
    "h": 134
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#33531B
secondary
#6A4189
accent
#4DDA9E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #33531B

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

Preview Lab → · Contrast checker → · Palette generator →

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