#2D3B06#2D3B06

#2D3B06 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.076 H 123.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2D3B06
RGBrgb(45, 59, 6)
HSLhsl(76, 82%, 13%)
HSVhsv(76, 90%, 23%)
CMYKcmyk(23.7%, 0%, 89.8%, 76.9%)
CIE-LABlab(22.65, -14.43, 28.39)
CIE-LCHlch(22.65, 31.85, 116.94°)
OKLaboklab(32.83% -0.0422 0.0629)
OKLCHoklch(32.83% 0.076 123.9)
XYZxyz(2.6791, 3.6989, 0.7451)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B06 #14063B
analogous
#3B2E06 #2D3B06 #123B06
triadic
#2D3B06 #062D3B #3B062D
tetradic
#2D3B06 #063B2E #14063B #3B0612
square
#2D3B06 #063B2E #14063B #3B0612
split-complementary
#2D3B06 #06123B #2E063B
monochromatic
#151C03 #151C03 #2D3B06 #57730C #82AA11

Accessibility & contrast

On white

12.07
#2D3B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D3B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B06
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B06#FFFFFF#000000##FFFFFF
##2D3B061.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#303831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3b06;
/* rgb */ color: rgb(45, 59, 6);
/* oklch */ color: oklch(32.8% 0.076 123.9);
Tailwind
colors: {
  custom: {
    50: '#68714b',
    500: '#2d3b06',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b06;
$custom-light: #68714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b06",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 75.849,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3283,
    "c": 0.07576,
    "h": 123.9
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#2D3B06
secondary
#39227B
accent
#30F865
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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