#2D4603#2D4603

#2D4603 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.093 H 129.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2D4603
RGBrgb(45, 70, 3)
HSLhsl(82, 92%, 14%)
HSVhsv(82, 96%, 27%)
CMYKcmyk(35.7%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.58, -20.59, 33.42)
CIE-LCHlch(26.58, 39.25, 121.64°)
OKLaboklab(36.01% -0.0592 0.0723)
OKLCHoklch(36.01% 0.093 129.3)
XYZxyz(3.2888, 4.9447, 0.8673)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4603 #1C0346
analogous
#463E03 #2D4603 #0C4603
triadic
#2D4603 #032D46 #46032D
tetradic
#2D4603 #03463E #1C0346 #46030C
square
#2D4603 #03463E #1C0346 #46030C
split-complementary
#2D4603 #030C46 #3E0346
monochromatic
#131D01 #131D01 #2D4603 #538106 #78BB08

Accessibility & contrast

On white

10.56
#2D4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4603
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4603#FFFFFF#000000##FFFFFF
##2D46031.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473E0B
Tritanopia (blue-blind)
#2F423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4603;
/* rgb */ color: rgb(45, 70, 3);
/* oklch */ color: oklch(36.0% 0.093 129.3);
Tailwind
colors: {
  custom: {
    50: '#69794b',
    500: '#2d4603',
    950: '#000000',
  },
}
SCSS
$custom: #2d4603;
$custom-light: #69794b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4603",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 82.388,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.09343,
    "h": 129.3
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#2D4603
secondary
#451D87
accent
#29FF79
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2D4603

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

Preview Lab → · Contrast checker → · Palette generator →

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