#2D7B16#2D7B16

#2D7B16 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 139.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2D7B16
RGBrgb(45, 123, 22)
HSLhsl(106, 70%, 28%)
HSVhsv(106, 82%, 48%)
CMYKcmyk(63.4%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.33, -42.45, 44.19)
CIE-LCHlch(45.33, 61.28, 133.85°)
OKLaboklab(51.48% -0.1166 0.0983)
OKLCHoklch(51.48% 0.153 139.9)
XYZxyz(8.3096, 14.7810, 3.1740)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B16 #64167B
analogous
#5F7B16 #2D7B16 #167B32
triadic
#2D7B16 #162D7B #7B162D
tetradic
#2D7B16 #165F7B #64167B #7B3216
square
#2D7B16 #165F7B #64167B #7B3216
split-complementary
#2D7B16 #32167B #7B165F
monochromatic
#091A05 #1A470D #2D7B16 #40AF1F #58DA31

Accessibility & contrast

On white

5.31
#2D7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2D7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B16
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B16#FFFFFF#000000##FFFFFF
##2D7B161.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#227768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b16;
/* rgb */ color: rgb(45, 123, 22);
/* oklch */ color: oklch(51.5% 0.153 139.9);
Tailwind
colors: {
  custom: {
    50: '#71a25d',
    500: '#2d7b16',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b16;
$custom-light: #71a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b16",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 106.337,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.15251,
    "h": 139.9
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#2D7B16
secondary
#963DB0
accent
#3BECC4
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2D7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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