#2D7210#2D7210

#2D7210 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.144 H 138.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2D7210
RGBrgb(45, 114, 16)
HSLhsl(102, 75%, 25%)
HSVhsv(102, 86%, 45%)
CMYKcmyk(60.5%, 0%, 86%, 55.3%)
CIE-LABlab(42.20, -39.37, 43.13)
CIE-LCHlch(42.20, 58.40, 132.39°)
OKLaboklab(48.88% -0.1087 0.0951)
OKLCHoklch(48.88% 0.144 138.8)
XYZxyz(7.1927, 12.6293, 2.5488)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7210 #551072
analogous
#5E7210 #2D7210 #107224
triadic
#2D7210 #102D72 #72102D
tetradic
#2D7210 #105E72 #551072 #722410
square
#2D7210 #105E72 #551072 #722410
split-complementary
#2D7210 #241072 #72105E
monochromatic
#0B1B04 #183C08 #2D7210 #42A818 #57DD1F

Accessibility & contrast

On white

5.96
#2D7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2D7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7210
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7210#FFFFFF#000000##FFFFFF
##2D72101.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#266E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7210;
/* rgb */ color: rgb(45, 114, 16);
/* oklch */ color: oklch(48.9% 0.144 138.8);
Tailwind
colors: {
  custom: {
    50: '#6f9b59',
    500: '#2d7210',
    950: '#000000',
  },
}
SCSS
$custom: #2d7210;
$custom-light: #6f9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7210",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 102.245,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.14443,
    "h": 138.8
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

primary
#2D7210
secondary
#8734A9
accent
#36F2BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7210

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

Preview Lab → · Contrast checker → · Palette generator →

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