#2D3E0D#2D3E0D

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

Color values

HEX#2D3E0D
RGBrgb(45, 62, 13)
HSLhsl(81, 65%, 15%)
HSVhsv(81, 79%, 24%)
CMYKcmyk(27.4%, 0%, 79%, 75.7%)
CIE-LABlab(23.78, -15.62, 26.59)
CIE-LCHlch(23.78, 30.84, 120.43°)
OKLaboklab(33.76% -0.0448 0.06)
OKLCHoklch(33.76% 0.075 126.7)
XYZxyz(2.8775, 4.0321, 1.0074)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E0D #1E0D3E
analogous
#3E370D #2D3E0D #153E0D
triadic
#2D3E0D #0D2D3E #3E0D2D
tetradic
#2D3E0D #0D3E37 #1E0D3E #3E0D15
square
#2D3E0D #0D3E37 #1E0D3E #3E0D15
split-complementary
#2D3E0D #0D153E #370D3E
monochromatic
#121905 #121905 #2D3E0D #527118 #76A322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3E0D#FFFFFF#000000##FFFFFF
##2D3E0D1.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)
#423906
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3e0d;
/* rgb */ color: rgb(45, 62, 13);
/* oklch */ color: oklch(33.8% 0.075 126.7);
Tailwind
colors: {
  custom: {
    50: '#68734f',
    500: '#2d3e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e0d;
$custom-light: #68734f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e0d",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 13
  },
  "hsl": {
    "h": 80.816,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3376,
    "c": 0.07486,
    "h": 126.7
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#2D3E0D
secondary
#482D7A
accent
#40E87A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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