#2D701B#2D701B

#2D701B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.136 H 139.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2D701B
RGBrgb(45, 112, 27)
HSLhsl(107, 61%, 27%)
HSVhsv(107, 76%, 44%)
CMYKcmyk(59.8%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.57, -37.83, 38.70)
CIE-LCHlch(41.57, 54.12, 134.35°)
OKLaboklab(48.38% -0.1039 0.0876)
OKLCHoklch(48.38% 0.136 139.9)
XYZxyz(7.0739, 12.2248, 3.0235)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D701B #5E1B70
analogous
#58701B #2D701B #1B7034
triadic
#2D701B #1B2D70 #701B2D
tetradic
#2D701B #1B5870 #5E1B70 #70341B
square
#2D701B #1B5870 #5E1B70 #70341B
split-complementary
#2D701B #341B70 #701B58
monochromatic
#0A1906 #193F0F #2D701B #41A127 #57CF37

Accessibility & contrast

On white

6.10
#2D701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2D701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D701B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D701B#FFFFFF#000000##FFFFFF
##2D701B1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#256C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d701b;
/* rgb */ color: rgb(45, 112, 27);
/* oklch */ color: oklch(48.4% 0.136 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e9a5d',
    500: '#2d701b',
    950: '#000000',
  },
}
SCSS
$custom: #2d701b;
$custom-light: #6e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d701b",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 107.294,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.13585,
    "h": 139.9
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#2D701B
secondary
#9042A5
accent
#44E4C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D701B

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

Preview Lab → · Contrast checker → · Palette generator →

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