#33531C#33531C

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

Color values

HEX#33531C
RGBrgb(51, 83, 28)
HSLhsl(95, 50%, 22%)
HSVhsv(95, 66%, 33%)
CMYKcmyk(38.6%, 0%, 66.3%, 67.5%)
CIE-LABlab(31.75, -22.70, 27.86)
CIE-LCHlch(31.75, 35.94, 129.17°)
OKLaboklab(40.39% -0.0632 0.0648)
OKLCHoklch(40.39% 0.09 134.3)
XYZxyz(4.6680, 6.9740, 2.1985)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33531C #3C1C53
analogous
#4F531C #33531C #1C5321
triadic
#33531C #1C3353 #531C33
tetradic
#33531C #1C4F53 #3C1C53 #53211C
square
#33531C #1C4F53 #3C1C53 #53211C
split-complementary
#33531C #211C53 #531C4F
monochromatic
#0E1708 #17250D #33531C #4F812B #6BAF3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##33531C#FFFFFF#000000##FFFFFF
##33531C1.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)
#564C16
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#335047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33531c;
/* rgb */ color: rgb(51, 83, 28);
/* oklch */ color: oklch(40.4% 0.090 134.3);
Tailwind
colors: {
  custom: {
    50: '#6d835b',
    500: '#33531c',
    950: '#000000',
  },
}
SCSS
$custom: #33531c;
$custom-light: #6d835b;
$custom-dark: #000000;
JSON
{
  "hex": "#33531c",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 28
  },
  "hsl": {
    "h": 94.909,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.09049,
    "h": 134.3
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#33531C
secondary
#6B4289
accent
#4FD99F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #33531C

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

Preview Lab → · Contrast checker → · Palette generator →

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