#2D700F#2D700F

#2D700F 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#2D700F
RGBrgb(45, 112, 15)
HSLhsl(101, 76%, 25%)
HSVhsv(101, 87%, 44%)
CMYKcmyk(59.8%, 0%, 86.6%, 56.1%)
CIE-LABlab(41.50, -38.64, 42.78)
CIE-LCHlch(41.50, 57.65, 132.09°)
OKLaboklab(48.3% -0.1068 0.0943)
OKLCHoklch(48.3% 0.142 138.6)
XYZxyz(6.9623, 12.1801, 2.4360)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D700F #520F70
analogous
#5E700F #2D700F #0F7021
triadic
#2D700F #0F2D70 #700F2D
tetradic
#2D700F #0F5E70 #520F70 #70210F
square
#2D700F #0F5E70 #520F70 #70210F
split-complementary
#2D700F #210F70 #700F5E
monochromatic
#0B1B04 #173A08 #2D700F #43A616 #58DC1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D700F#FFFFFF#000000##FFFFFF
##2D700F1.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)
#6B601B
Tritanopia (blue-blind)
#266C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d700f;
/* rgb */ color: rgb(45, 112, 15);
/* oklch */ color: oklch(48.3% 0.142 138.6);
Tailwind
colors: {
  custom: {
    50: '#6f9a58',
    500: '#2d700f',
    950: '#000000',
  },
}
SCSS
$custom: #2d700f;
$custom-light: #6f9a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d700f",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 101.443,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48296,
    "c": 0.14242,
    "h": 138.6
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#2D700F
secondary
#8433A8
accent
#35F3B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D700F

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

Preview Lab → · Contrast checker → · Palette generator →

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