#2D3B0D#2D3B0D

#2D3B0D is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.070 H 124.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2D3B0D
RGBrgb(45, 59, 13)
HSLhsl(78, 64%, 14%)
HSVhsv(78, 78%, 23%)
CMYKcmyk(23.7%, 0%, 78%, 76.9%)
CIE-LABlab(22.71, -13.92, 25.49)
CIE-LCHlch(22.71, 29.05, 118.63°)
OKLaboklab(32.89% -0.0401 0.0577)
OKLCHoklch(32.89% 0.07 124.8)
XYZxyz(2.7188, 3.7148, 0.9545)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B0D #1B0D3B
analogous
#3B320D #2D3B0D #163B0D
triadic
#2D3B0D #0D2D3B #3B0D2D
tetradic
#2D3B0D #0D3B32 #1B0D3B #3B0D16
square
#2D3B0D #0D3B32 #1B0D3B #3B0D16
split-complementary
#2D3B0D #0D163B #320D3B
monochromatic
#131906 #131906 #2D3B0D #536D18 #7A9F23

Accessibility & contrast

On white

12.05
#2D3B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3B0D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B0D#FFFFFF#000000##FFFFFF
##2D3B0D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3707
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#2F3832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3b0d;
/* rgb */ color: rgb(45, 59, 13);
/* oklch */ color: oklch(32.9% 0.070 124.8);
Tailwind
colors: {
  custom: {
    50: '#68714e',
    500: '#2d3b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b0d;
$custom-light: #68714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b0d",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 13
  },
  "hsl": {
    "h": 78.261,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32892,
    "c": 0.07025,
    "h": 124.8
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#2D3B0D
secondary
#442D77
accent
#41E773
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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