#2D4906#2D4906

#2D4906 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.096 H 130.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2D4906
RGBrgb(45, 73, 6)
HSLhsl(85, 85%, 15%)
HSVhsv(85, 92%, 29%)
CMYKcmyk(38.4%, 0%, 91.8%, 71.4%)
CIE-LABlab(27.67, -21.93, 33.16)
CIE-LCHlch(27.67, 39.76, 123.48°)
OKLaboklab(36.91% -0.0625 0.0724)
OKLCHoklch(36.91% 0.096 130.8)
XYZxyz(3.4976, 5.3360, 1.0179)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4906 #220649
analogous
#494306 #2D4906 #0B4906
triadic
#2D4906 #062D49 #49062D
tetradic
#2D4906 #064943 #220649 #49060B
square
#2D4906 #064943 #220649 #49060B
split-complementary
#2D4906 #060B49 #430649
monochromatic
#111C02 #111C02 #2D4906 #50820B #73BA0F

Accessibility & contrast

On white

10.16
#2D4906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D4906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4906
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4906#FFFFFF#000000##FFFFFF
##2D49061.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#49410E
Tritanopia (blue-blind)
#2E453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d4906;
/* rgb */ color: rgb(45, 73, 6);
/* oklch */ color: oklch(36.9% 0.096 130.8);
Tailwind
colors: {
  custom: {
    50: '#697c4d',
    500: '#2d4906',
    950: '#000000',
  },
}
SCSS
$custom: #2d4906;
$custom-light: #697c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4906",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 85.075,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36913,
    "c": 0.09569,
    "h": 130.8
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#2D4906
secondary
#4D2388
accent
#2DFB83
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2D4906

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

Preview Lab → · Contrast checker → · Palette generator →

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