#2D3C06#2D3C06

#2D3C06 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.077 H 124.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2D3C06
RGBrgb(45, 60, 6)
HSLhsl(77, 82%, 13%)
HSVhsv(77, 90%, 24%)
CMYKcmyk(25%, 0%, 90%, 76.5%)
CIE-LABlab(23.01, -15.00, 28.76)
CIE-LCHlch(23.01, 32.44, 117.54°)
OKLaboklab(33.12% -0.0438 0.0636)
OKLCHoklch(33.12% 0.077 124.6)
XYZxyz(2.7309, 3.8027, 0.7624)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C06 #15063C
analogous
#3C3006 #2D3C06 #123C06
triadic
#2D3C06 #062D3C #3C062D
tetradic
#2D3C06 #063C30 #15063C #3C0612
square
#2D3C06 #063C30 #15063C #3C0612
split-complementary
#2D3C06 #06123C #30063C
monochromatic
#151C03 #151C03 #2D3C06 #57740C #80AB11

Accessibility & contrast

On white

11.93
#2D3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D3C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C06
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C06#FFFFFF#000000##FFFFFF
##2D3C061.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#303932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c06;
/* rgb */ color: rgb(45, 60, 6);
/* oklch */ color: oklch(33.1% 0.077 124.6);
Tailwind
colors: {
  custom: {
    50: '#68714b',
    500: '#2d3c06',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c06;
$custom-light: #68714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c06",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 76.667,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.3312,
    "c": 0.0772,
    "h": 124.6
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#2D3C06
secondary
#3B227C
accent
#30F867
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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