#2D4606#2D4606

#2D4606 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.091 H 129.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2D4606
RGBrgb(45, 70, 6)
HSLhsl(83, 84%, 15%)
HSVhsv(83, 91%, 27%)
CMYKcmyk(35.7%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.60, -20.40, 32.21)
CIE-LCHlch(26.60, 38.13, 122.35°)
OKLaboklab(36.04% -0.0584 0.0704)
OKLCHoklch(36.04% 0.091 129.7)
XYZxyz(3.3052, 4.9512, 0.9538)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4606 #1F0646
analogous
#463F06 #2D4606 #0D4606
triadic
#2D4606 #062D46 #46062D
tetradic
#2D4606 #06463F #1F0646 #46060D
square
#2D4606 #06463F #1F0646 #46060D
split-complementary
#2D4606 #060D46 #3F0646
monochromatic
#121C02 #121C02 #2D4606 #517E0B #75B710

Accessibility & contrast

On white

10.55
#2D4606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D4606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4606
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4606#FFFFFF#000000##FFFFFF
##2D46061.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#2F423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4606;
/* rgb */ color: rgb(45, 70, 6);
/* oklch */ color: oklch(36.0% 0.091 129.7);
Tailwind
colors: {
  custom: {
    50: '#69794d',
    500: '#2d4606',
    950: '#000000',
  },
}
SCSS
$custom: #2d4606;
$custom-light: #69794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4606",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 83.438,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36035,
    "c": 0.09148,
    "h": 129.7
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#2D4606
secondary
#492285
accent
#2DFA7D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2D4606

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

Preview Lab → · Contrast checker → · Palette generator →

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