#33791B#33791B

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

Color values

HEX#33791B
RGBrgb(51, 121, 27)
HSLhsl(105, 64%, 29%)
HSVhsv(105, 78%, 47%)
CMYKcmyk(57.9%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.88, -39.70, 42.08)
CIE-LCHlch(44.88, 57.86, 133.33°)
OKLaboklab(51.17% -0.1093 0.0946)
OKLCHoklch(51.17% 0.145 139.1)
XYZxyz(8.4001, 14.4570, 3.3845)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33791B #611B79
analogous
#62791B #33791B #1B7932
triadic
#33791B #1B3379 #791B33
tetradic
#33791B #1B6279 #611B79 #79321B
square
#33791B #1B6279 #611B79 #79321B
split-complementary
#33791B #321B79 #791B62
monochromatic
#0B1906 #1E4710 #33791B #48AB26 #62D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##33791B#FFFFFF#000000##FFFFFF
##33791B1.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)
#7D6E07
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #33791b;
/* rgb */ color: rgb(51, 121, 27);
/* oklch */ color: oklch(51.2% 0.145 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a05f',
    500: '#33791b',
    950: '#000000',
  },
}
SCSS
$custom: #33791b;
$custom-light: #73a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#33791b",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 104.681,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.14454,
    "h": 139.1
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#33791B
secondary
#9243AD
accent
#41E7BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #33791B

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

Preview Lab → · Contrast checker → · Palette generator →

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