#33791A#33791A

#33791A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.145 H 139.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#33791A
RGBrgb(51, 121, 26)
HSLhsl(104, 65%, 29%)
HSVhsv(104, 79%, 47%)
CMYKcmyk(57.9%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.87, -39.78, 42.45)
CIE-LCHlch(44.87, 58.17, 133.14°)
OKLaboklab(51.16% -0.1096 0.0952)
OKLCHoklch(51.16% 0.145 139)
XYZxyz(8.3887, 14.4524, 3.3246)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33791A #601A79
analogous
#63791A #33791A #1A7931
triadic
#33791A #1A3379 #791A33
tetradic
#33791A #1A6379 #601A79 #79311A
square
#33791A #1A6379 #601A79 #79311A
split-complementary
#33791A #311A79 #791A63
monochromatic
#0B1905 #1E470F #33791A #48AB25 #62D439

Accessibility & contrast

On white

5.40
#33791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#33791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #33791A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33791A#FFFFFF#000000##FFFFFF
##33791A1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #33791a;
/* rgb */ color: rgb(51, 121, 26);
/* oklch */ color: oklch(51.2% 0.145 139.0);
Tailwind
colors: {
  custom: {
    50: '#73a05e',
    500: '#33791a',
    950: '#000000',
  },
}
SCSS
$custom: #33791a;
$custom-light: #73a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#33791a",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 104.211,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.14514,
    "h": 139
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#33791A
secondary
#9141AD
accent
#40E8BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #33791A

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

Preview Lab → · Contrast checker → · Palette generator →

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