#2D4206#2D4206

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

Color values

HEX#2D4206
RGBrgb(45, 66, 6)
HSLhsl(81, 83%, 14%)
HSVhsv(81, 91%, 26%)
CMYKcmyk(31.8%, 0%, 90.9%, 74.1%)
CIE-LABlab(25.16, -18.30, 30.89)
CIE-LCHlch(25.16, 35.90, 120.64°)
OKLaboklab(34.87% -0.0527 0.0677)
OKLCHoklch(34.87% 0.086 127.9)
XYZxyz(3.0633, 4.4674, 0.8732)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4206 #1B0642
analogous
#423906 #2D4206 #0F4206
triadic
#2D4206 #062D42 #42062D
tetradic
#2D4206 #064239 #1B0642 #42060F
square
#2D4206 #064239 #1B0642 #42060F
split-complementary
#2D4206 #060F42 #390642
monochromatic
#131C03 #131C03 #2D4206 #537A0B #7AB210

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4206#FFFFFF#000000##FFFFFF
##2D42061.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)
#433B0C
Tritanopia (blue-blind)
#2F3E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d4206;
/* rgb */ color: rgb(45, 66, 6);
/* oklch */ color: oklch(34.9% 0.086 127.9);
Tailwind
colors: {
  custom: {
    50: '#69764c',
    500: '#2d4206',
    950: '#000000',
  },
}
SCSS
$custom: #2d4206;
$custom-light: #69764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4206",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 6
  },
  "hsl": {
    "h": 81,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34866,
    "c": 0.08581,
    "h": 127.9
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#2D4206
secondary
#442282
accent
#2EFA75
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4206

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

Preview Lab → · Contrast checker → · Palette generator →

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