#2D3C0C#2D3C0C

#2D3C0C is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.073 H 125.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2D3C0C
RGBrgb(45, 60, 12)
HSLhsl(79, 67%, 14%)
HSVhsv(79, 80%, 24%)
CMYKcmyk(25%, 0%, 80%, 76.5%)
CIE-LABlab(23.05, -14.57, 26.32)
CIE-LCHlch(23.05, 30.09, 118.97°)
OKLaboklab(33.17% -0.042 0.0593)
OKLCHoklch(33.17% 0.073 125.3)
XYZxyz(2.7644, 3.8161, 0.9387)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C0C #1B0C3C
analogous
#3C330C #2D3C0C #153C0C
triadic
#2D3C0C #0C2D3C #3C0C2D
tetradic
#2D3C0C #0C3C33 #1B0C3C #3C0C15
square
#2D3C0C #0C3C33 #1B0C3C #3C0C15
split-complementary
#2D3C0C #0C153C #330C3C
monochromatic
#131A05 #131A05 #2D3C0C #536F16 #7AA220

Accessibility & contrast

On white

11.91
#2D3C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3C0C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C0C#FFFFFF#000000##FFFFFF
##2D3C0C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403805
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#2F3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c0c;
/* rgb */ color: rgb(45, 60, 12);
/* oklch */ color: oklch(33.2% 0.073 125.3);
Tailwind
colors: {
  custom: {
    50: '#68714e',
    500: '#2d3c0c',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c0c;
$custom-light: #68714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c0c",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 78.75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33171,
    "c": 0.07262,
    "h": 125.3
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#2D3C0C
secondary
#442C78
accent
#3EEA74
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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