#2D3E0A#2D3E0A

#2D3E0A is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.077 H 126.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2D3E0A
RGBrgb(45, 62, 10)
HSLhsl(80, 72%, 14%)
HSVhsv(80, 84%, 24%)
CMYKcmyk(27.4%, 0%, 83.9%, 75.7%)
CIE-LABlab(23.75, -15.84, 27.89)
CIE-LCHlch(23.75, 32.08, 119.60°)
OKLaboklab(33.73% -0.0457 0.0622)
OKLCHoklch(33.73% 0.077 126.3)
XYZxyz(2.8596, 4.0250, 0.9133)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E0A #1B0A3E
analogous
#3E350A #2D3E0A #133E0A
triadic
#2D3E0A #0A2D3E #3E0A2D
tetradic
#2D3E0A #0A3E35 #1B0A3E #3E0A13
square
#2D3E0A #0A3E35 #1B0A3E #3E0A13
split-complementary
#2D3E0A #0A133E #350A3E
monochromatic
#131A04 #131A04 #2D3E0A #537313 #7AA71B

Accessibility & contrast

On white

11.63
#2D3E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D3E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E0A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E0A#FFFFFF#000000##FFFFFF
##2D3E0A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423903
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3e0a;
/* rgb */ color: rgb(45, 62, 10);
/* oklch */ color: oklch(33.7% 0.077 126.3);
Tailwind
colors: {
  custom: {
    50: '#68734d',
    500: '#2d3e0a',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e0a;
$custom-light: #68734d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e0a",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 10
  },
  "hsl": {
    "h": 79.615,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33733,
    "c": 0.07716,
    "h": 126.3
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#2D3E0A
secondary
#44287B
accent
#39EF74
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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