#2D4705#2D4705

#2D4705 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.094 H 130.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2D4705
RGBrgb(45, 71, 5)
HSLhsl(84, 87%, 15%)
HSVhsv(84, 93%, 28%)
CMYKcmyk(36.6%, 0%, 93%, 72.2%)
CIE-LABlab(26.95, -20.98, 32.93)
CIE-LCHlch(26.95, 39.04, 122.50°)
OKLaboklab(36.32% -0.0601 0.0717)
OKLCHoklch(36.32% 0.094 130)
XYZxyz(3.3628, 5.0752, 0.9460)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4705 #1F0547
analogous
#474005 #2D4705 #0C4705
triadic
#2D4705 #052D47 #47052D
tetradic
#2D4705 #054740 #1F0547 #47050C
square
#2D4705 #054740 #1F0547 #47050C
split-complementary
#2D4705 #050C47 #400547
monochromatic
#121D02 #121D02 #2D4705 #518009 #75B90D

Accessibility & contrast

On white

10.42
#2D4705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D4705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4705
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4705#FFFFFF#000000##FFFFFF
##2D47051.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F0D
Tritanopia (blue-blind)
#2E433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4705;
/* rgb */ color: rgb(45, 71, 5);
/* oklch */ color: oklch(36.3% 0.094 130.0);
Tailwind
colors: {
  custom: {
    50: '#697a4c',
    500: '#2d4705',
    950: '#000000',
  },
}
SCSS
$custom: #2d4705;
$custom-light: #697a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4705",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 83.636,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36321,
    "c": 0.09352,
    "h": 130
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#2D4705
secondary
#492187
accent
#2BFD7E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2D4705

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

Preview Lab → · Contrast checker → · Palette generator →

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