#2D3C0A#2D3C0A

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

Color values

HEX#2D3C0A
RGBrgb(45, 60, 10)
HSLhsl(78, 71%, 14%)
HSVhsv(78, 83%, 24%)
CMYKcmyk(25%, 0%, 83.3%, 76.5%)
CIE-LABlab(23.04, -14.72, 27.17)
CIE-LCHlch(23.04, 30.90, 118.45°)
OKLaboklab(33.15% -0.0426 0.0607)
OKLCHoklch(33.15% 0.074 125.1)
XYZxyz(2.7529, 3.8115, 0.8778)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C0A #190A3C
analogous
#3C320A #2D3C0A #143C0A
triadic
#2D3C0A #0A2D3C #3C0A2D
tetradic
#2D3C0A #0A3C32 #190A3C #3C0A14
square
#2D3C0A #0A3C32 #190A3C #3C0A14
split-complementary
#2D3C0A #0A143C #320A3C
monochromatic
#141A04 #141A04 #2D3C0A #547013 #7CA51B

Accessibility & contrast

On white

11.92
#2D3C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3C0A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C0A#FFFFFF#000000##FFFFFF
##2D3C0A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3c0a;
/* rgb */ color: rgb(45, 60, 10);
/* oklch */ color: oklch(33.2% 0.074 125.1);
Tailwind
colors: {
  custom: {
    50: '#68714d',
    500: '#2d3c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c0a;
$custom-light: #68714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c0a",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 78,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33153,
    "c": 0.07417,
    "h": 125.1
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#2D3C0A
secondary
#412879
accent
#3AEE70
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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