#2D3D0B#2D3D0B

#2D3D0B is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.075 H 125.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2D3D0B
RGBrgb(45, 61, 11)
HSLhsl(79, 69%, 14%)
HSVhsv(79, 82%, 24%)
CMYKcmyk(26.2%, 0%, 82%, 76.1%)
CIE-LABlab(23.40, -15.21, 27.12)
CIE-LCHlch(23.40, 31.09, 119.29°)
OKLaboklab(33.45% -0.0438 0.0608)
OKLCHoklch(33.45% 0.075 125.8)
XYZxyz(2.8114, 3.9195, 0.9250)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D0B #1B0B3D
analogous
#3D340B #2D3D0B #143D0B
triadic
#2D3D0B #0B2D3D #3D0B2D
tetradic
#2D3D0B #0B3D34 #1B0B3D #3D0B14
square
#2D3D0B #0B3D34 #1B0B3D #3D0B14
split-complementary
#2D3D0B #0B143D #340B3D
monochromatic
#131A05 #131A05 #2D3D0B #537114 #7AA51E

Accessibility & contrast

On white

11.77
#2D3D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D3D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D0B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D0B#FFFFFF#000000##FFFFFF
##2D3D0B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413804
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#2F3A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d0b;
/* rgb */ color: rgb(45, 61, 11);
/* oklch */ color: oklch(33.5% 0.075 125.8);
Tailwind
colors: {
  custom: {
    50: '#68724e',
    500: '#2d3d0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d0b;
$custom-light: #68724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d0b",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 79.2,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33452,
    "c": 0.07492,
    "h": 125.8
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#2D3D0B
secondary
#442A7A
accent
#3CEC74
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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