#2D6E0F#2D6E0F

#2D6E0F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.140 H 138.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2D6E0F
RGBrgb(45, 110, 15)
HSLhsl(101, 76%, 25%)
HSVhsv(101, 86%, 43%)
CMYKcmyk(59.1%, 0%, 86.4%, 56.9%)
CIE-LABlab(40.81, -37.86, 42.15)
CIE-LCHlch(40.81, 56.66, 131.93°)
OKLaboklab(47.72% -0.1047 0.0929)
OKLCHoklch(47.72% 0.14 138.4)
XYZxyz(6.7441, 11.7437, 2.3632)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E0F #500F6E
analogous
#5D6E0F #2D6E0F #0F6E21
triadic
#2D6E0F #0F2D6E #6E0F2D
tetradic
#2D6E0F #0F5D6E #500F6E #6E210F
square
#2D6E0F #0F5D6E #500F6E #6E210F
split-complementary
#2D6E0F #210F6E #6E0F5D
monochromatic
#0B1B04 #173808 #2D6E0F #43A416 #59DA1E

Accessibility & contrast

On white

6.27
#2D6E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2D6E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E0F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E0F#FFFFFF#000000##FFFFFF
##2D6E0F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#6A5E1B
Tritanopia (blue-blind)
#276A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e0f;
/* rgb */ color: rgb(45, 110, 15);
/* oklch */ color: oklch(47.7% 0.140 138.4);
Tailwind
colors: {
  custom: {
    50: '#6f9858',
    500: '#2d6e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e0f;
$custom-light: #6f9858;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e0f",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 15
  },
  "hsl": {
    "h": 101.053,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.13996,
    "h": 138.4
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#2D6E0F
secondary
#8233A6
accent
#35F3B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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