#2D801B#2D801B

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

Color values

HEX#2D801B
RGBrgb(45, 128, 27)
HSLhsl(109, 65%, 30%)
HSVhsv(109, 79%, 50%)
CMYKcmyk(64.8%, 0%, 78.9%, 49.8%)
CIE-LABlab(47.07, -43.98, 44.17)
CIE-LCHlch(47.07, 62.33, 134.87°)
OKLaboklab(52.92% -0.1204 0.099)
OKLCHoklch(52.92% 0.156 140.6)
XYZxyz(8.9988, 16.0745, 3.6652)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D801B #6E1B80
analogous
#5F801B #2D801B #1B803B
triadic
#2D801B #1B2D80 #801B2D
tetradic
#2D801B #1B5F80 #6E1B80 #803B1B
square
#2D801B #1B5F80 #6E1B80 #803B1B
split-complementary
#2D801B #3B1B80 #801B5F
monochromatic
#091B06 #1B4D10 #2D801B #3FB326 #5AD63F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D801B#FFFFFF#000000##FFFFFF
##2D801B1.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)
#847403
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#207C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d801b;
/* rgb */ color: rgb(45, 128, 27);
/* oklch */ color: oklch(52.9% 0.156 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a660',
    500: '#2d801b',
    950: '#000000',
  },
}
SCSS
$custom: #2d801b;
$custom-light: #72a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2d801b",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 109.307,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.1559,
    "h": 140.6
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#2D801B
secondary
#A043B4
accent
#40E8CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D801B

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

Preview Lab → · Contrast checker → · Palette generator →

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