#33831A#33831A

#33831A is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.158 H 139.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#33831A
RGBrgb(51, 131, 26)
HSLhsl(106, 67%, 31%)
HSVhsv(106, 80%, 51%)
CMYKcmyk(61.1%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.27, -43.64, 45.74)
CIE-LCHlch(48.27, 63.22, 133.65°)
OKLaboklab(53.97% -0.12 0.102)
OKLCHoklch(53.97% 0.158 139.6)
XYZxyz(9.6676, 17.0101, 3.7509)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33831A #6A1A83
analogous
#67831A #33831A #1A8335
triadic
#33831A #1A3383 #831A33
tetradic
#33831A #1A6783 #6A1A83 #83351A
square
#33831A #1A6783 #6A1A83 #83351A
split-complementary
#33831A #351A83 #831A67
monochromatic
#0B1D06 #1F5010 #33831A #47B624 #63D93F

Accessibility & contrast

On white

4.77
#33831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#33831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #33831A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33831A#FFFFFF#000000##FFFFFF
##33831A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#297E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #33831a;
/* rgb */ color: rgb(51, 131, 26);
/* oklch */ color: oklch(54.0% 0.158 139.6);
Tailwind
colors: {
  custom: {
    50: '#75a860',
    500: '#33831a',
    950: '#000000',
  },
}
SCSS
$custom: #33831a;
$custom-light: #75a860;
$custom-dark: #000000;
JSON
{
  "hex": "#33831a",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 105.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.15751,
    "h": 139.6
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#33831A
secondary
#9B42B7
accent
#3EEAC1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #33831A

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

Preview Lab → · Contrast checker → · Palette generator →

#33831A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva