#2D3D0E#2D3D0E

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

Color values

HEX#2D3D0E
RGBrgb(45, 61, 14)
HSLhsl(80, 63%, 15%)
HSVhsv(80, 77%, 24%)
CMYKcmyk(26.2%, 0%, 77%, 76.1%)
CIE-LABlab(23.43, -14.98, 25.76)
CIE-LCHlch(23.43, 29.80, 120.17°)
OKLaboklab(33.48% -0.0429 0.0584)
OKLCHoklch(33.48% 0.072 126.3)
XYZxyz(2.8302, 3.9270, 1.0243)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D0E #1E0E3D
analogous
#3D360E #2D3D0E #153D0E
triadic
#2D3D0E #0E2D3D #3D0E2D
tetradic
#2D3D0E #0E3D36 #1E0E3D #3D0E15
square
#2D3D0E #0E3D36 #1E0E3D #3D0E15
split-complementary
#2D3D0E #0E153D #360E3D
monochromatic
#121906 #121906 #2D3D0E #526F19 #76A125

Accessibility & contrast

On white

11.76
#2D3D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D3D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D0E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D0E#FFFFFF#000000##FFFFFF
##2D3D0E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413807
Deuteranopia (green-blind)
#3E3812
Tritanopia (blue-blind)
#2F3A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d0e;
/* rgb */ color: rgb(45, 61, 14);
/* oklch */ color: oklch(33.5% 0.072 126.3);
Tailwind
colors: {
  custom: {
    50: '#68724f',
    500: '#2d3d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d0e;
$custom-light: #68724f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d0e",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 14
  },
  "hsl": {
    "h": 80.426,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3348,
    "c": 0.07247,
    "h": 126.3
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#2D3D0E
secondary
#482F78
accent
#42E67A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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