#2D801F#2D801F

#2D801F is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.154 H 141.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2D801F
RGBrgb(45, 128, 31)
HSLhsl(111, 61%, 31%)
HSVhsv(111, 76%, 50%)
CMYKcmyk(64.8%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.10, -43.67, 42.72)
CIE-LCHlch(47.10, 61.09, 135.63°)
OKLaboklab(52.95% -0.1194 0.0965)
OKLCHoklch(52.95% 0.154 141)
XYZxyz(9.0482, 16.0943, 3.9257)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D801F #721F80
analogous
#5D801F #2D801F #1F8041
triadic
#2D801F #1F2D80 #801F2D
tetradic
#2D801F #1F5D80 #721F80 #80411F
square
#2D801F #1F5D80 #721F80 #80411F
split-complementary
#2D801F #411F80 #801F5D
monochromatic
#0A1D07 #1C4F13 #2D801F #3EB12B #5BD247

Accessibility & contrast

On white

4.98
#2D801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2D801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D801F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D801F#FFFFFF#000000##FFFFFF
##2D801F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#1F7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d801f;
/* rgb */ color: rgb(45, 128, 31);
/* oklch */ color: oklch(53.0% 0.154 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a661',
    500: '#2d801f',
    950: '#000000',
  },
}
SCSS
$custom: #2d801f;
$custom-light: #71a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2d801f",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 111.34,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.15354,
    "h": 141
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#2D801F
secondary
#A348B3
accent
#44E4CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2D801F

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

Preview Lab → · Contrast checker → · Palette generator →

#2D801F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva