#2D6112#2D6112

#2D6112 is a dark, vivid yellow-green. Relative luminance 0.092; OKLCH L 44.0% C 0.122 H 137.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2D6112
RGBrgb(45, 97, 18)
HSLhsl(99, 69%, 23%)
HSVhsv(99, 81%, 38%)
CMYKcmyk(53.6%, 0%, 81.4%, 62%)
CIE-LABlab(36.27, -32.32, 36.92)
CIE-LCHlch(36.27, 49.06, 131.20°)
OKLaboklab(43.99% -0.0896 0.0824)
OKLCHoklch(43.99% 0.122 137.4)
XYZxyz(5.4659, 9.1506, 2.0504)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6112 #461261
analogous
#546112 #2D6112 #12611F
triadic
#2D6112 #122D61 #61122D
tetradic
#2D6112 #125461 #461261 #611F12
square
#2D6112 #125461 #461261 #611F12
split-complementary
#2D6112 #1F1261 #611254
monochromatic
#0C1A05 #152D08 #2D6112 #45951C #5DC825

Accessibility & contrast

On white

7.42
#2D6112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D6112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6112
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6112#FFFFFF#000000##FFFFFF
##2D61121.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#2A5D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6112;
/* rgb */ color: rgb(45, 97, 18);
/* oklch */ color: oklch(44.0% 0.122 137.4);
Tailwind
colors: {
  custom: {
    50: '#6c8e57',
    500: '#2d6112',
    950: '#000000',
  },
}
SCSS
$custom: #2d6112;
$custom-light: #6c8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6112",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 99.494,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.12176,
    "h": 137.4
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#2D6112
secondary
#773699
accent
#3CECB0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6112

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

Preview Lab → · Contrast checker → · Palette generator →

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