#2D4205#2D4205

#2D4205 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.086 H 127.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2D4205
RGBrgb(45, 66, 5)
HSLhsl(81, 86%, 14%)
HSVhsv(81, 92%, 26%)
CMYKcmyk(31.8%, 0%, 92.4%, 74.1%)
CIE-LABlab(25.15, -18.36, 31.29)
CIE-LCHlch(25.15, 36.28, 120.40°)
OKLaboklab(34.86% -0.053 0.0683)
OKLCHoklch(34.86% 0.087 127.8)
XYZxyz(3.0578, 4.4652, 0.8443)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4205 #1A0542
analogous
#423905 #2D4205 #0F4205
triadic
#2D4205 #052D42 #42052D
tetradic
#2D4205 #054239 #1A0542 #42050F
square
#2D4205 #054239 #1A0542 #42050F
split-complementary
#2D4205 #050F42 #390542
monochromatic
#131C02 #131C02 #2D4205 #547B09 #7BB40E

Accessibility & contrast

On white

11.09
#2D4205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D4205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4205
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4205#FFFFFF#000000##FFFFFF
##2D42051.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0B
Tritanopia (blue-blind)
#2F3E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d4205;
/* rgb */ color: rgb(45, 66, 5);
/* oklch */ color: oklch(34.9% 0.086 127.8);
Tailwind
colors: {
  custom: {
    50: '#69764b',
    500: '#2d4205',
    950: '#000000',
  },
}
SCSS
$custom: #2d4205;
$custom-light: #69764b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4205",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 80.656,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34859,
    "c": 0.0865,
    "h": 127.8
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#2D4205
secondary
#422082
accent
#2CFC73
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4205

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

Preview Lab → · Contrast checker → · Palette generator →

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