#2D7010#2D7010

#2D7010 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.142 H 138.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2D7010
RGBrgb(45, 112, 16)
HSLhsl(102, 75%, 25%)
HSVhsv(102, 86%, 44%)
CMYKcmyk(59.8%, 0%, 85.7%, 56.1%)
CIE-LABlab(41.51, -38.59, 42.50)
CIE-LCHlch(41.51, 57.40, 132.24°)
OKLaboklab(48.3% -0.1066 0.0938)
OKLCHoklch(48.3% 0.142 138.6)
XYZxyz(6.9696, 12.1830, 2.4744)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7010 #531070
analogous
#5D7010 #2D7010 #107023
triadic
#2D7010 #102D70 #70102D
tetradic
#2D7010 #105D70 #531070 #702310
square
#2D7010 #105D70 #531070 #702310
split-complementary
#2D7010 #231070 #70105D
monochromatic
#0B1B04 #173A08 #2D7010 #43A618 #58DB1F

Accessibility & contrast

On white

6.11
#2D7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2D7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7010
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7010#FFFFFF#000000##FFFFFF
##2D70101.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#266C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d7010;
/* rgb */ color: rgb(45, 112, 16);
/* oklch */ color: oklch(48.3% 0.142 138.6);
Tailwind
colors: {
  custom: {
    50: '#6f9a58',
    500: '#2d7010',
    950: '#000000',
  },
}
SCSS
$custom: #2d7010;
$custom-light: #6f9a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7010",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 101.875,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.14198,
    "h": 138.6
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#2D7010
secondary
#8534A8
accent
#36F2B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7010

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

Preview Lab → · Contrast checker → · Palette generator →

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