#2D3C0F#2D3C0F

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

Color values

HEX#2D3C0F
RGBrgb(45, 60, 15)
HSLhsl(80, 60%, 15%)
HSVhsv(80, 75%, 24%)
CMYKcmyk(25%, 0%, 75%, 76.5%)
CIE-LABlab(23.08, -14.32, 24.90)
CIE-LCHlch(23.08, 28.73, 119.90°)
OKLaboklab(33.2% -0.041 0.0568)
OKLCHoklch(33.2% 0.07 125.8)
XYZxyz(2.7843, 3.8241, 1.0433)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C0F #1E0F3C
analogous
#3C350F #2D3C0F #173C0F
triadic
#2D3C0F #0F2D3C #3C0F2D
tetradic
#2D3C0F #0F3C35 #1E0F3C #3C0F17
square
#2D3C0F #0F3C35 #1E0F3C #3C0F17
split-complementary
#2D3C0F #0F173C #350F3C
monochromatic
#121806 #121806 #2D3C0F #526D1B #769E27

Accessibility & contrast

On white

11.90
#2D3C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3C0F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C0F#FFFFFF#000000##FFFFFF
##2D3C0F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403809
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#2F3933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c0f;
/* rgb */ color: rgb(45, 60, 15);
/* oklch */ color: oklch(33.2% 0.070 125.8);
Tailwind
colors: {
  custom: {
    50: '#687150',
    500: '#2d3c0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c0f;
$custom-light: #687150;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c0f",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33202,
    "c": 0.07002,
    "h": 125.8
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#2D3C0F
secondary
#483076
accent
#45E379
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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