#2D3C0E#2D3C0E

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

Color values

HEX#2D3C0E
RGBrgb(45, 60, 14)
HSLhsl(80, 62%, 15%)
HSVhsv(80, 77%, 24%)
CMYKcmyk(25%, 0%, 76.7%, 76.5%)
CIE-LABlab(23.07, -14.41, 25.39)
CIE-LCHlch(23.07, 29.19, 119.57°)
OKLaboklab(33.19% -0.0413 0.0576)
OKLCHoklch(33.19% 0.071 125.6)
XYZxyz(2.7773, 3.8213, 1.0066)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C0E #1D0E3C
analogous
#3C340E #2D3C0E #163C0E
triadic
#2D3C0E #0E2D3C #3C0E2D
tetradic
#2D3C0E #0E3C34 #1D0E3C #3C0E16
square
#2D3C0E #0E3C34 #1D0E3C #3C0E16
split-complementary
#2D3C0E #0E163C #340E3C
monochromatic
#131906 #131906 #2D3C0E #526E1A #779F25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3C0E#FFFFFF#000000##FFFFFF
##2D3C0E1.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)
#403808
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#2F3933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c0e;
/* rgb */ color: rgb(45, 60, 14);
/* oklch */ color: oklch(33.2% 0.071 125.6);
Tailwind
colors: {
  custom: {
    50: '#68714f',
    500: '#2d3c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c0e;
$custom-light: #68714f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c0e",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 14
  },
  "hsl": {
    "h": 79.565,
    "s": 62.162,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33191,
    "c": 0.07093,
    "h": 125.6
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#2D3C0E
secondary
#462F77
accent
#43E578
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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