#2D340D#2D340D

#2D340D is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.9% C 0.059 H 118.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2D340D
RGBrgb(45, 52, 13)
HSLhsl(71, 60%, 13%)
HSVhsv(71, 75%, 20%)
CMYKcmyk(13.5%, 0%, 75%, 79.6%)
CIE-LABlab(20.21, -9.76, 22.80)
CIE-LCHlch(20.21, 24.80, 113.17°)
OKLaboklab(30.88% -0.0286 0.0522)
OKLCHoklch(30.88% 0.059 118.7)
XYZxyz(2.3829, 3.0429, 0.8425)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D340D #140D34
analogous
#34270D #2D340D #19340D
triadic
#2D340D #0D2D34 #340D2D
tetradic
#2D340D #0D3427 #140D34 #340D19
square
#2D340D #0D3427 #140D34 #340D19
split-complementary
#2D340D #0D1934 #270D34
monochromatic
#151806 #151806 #2D340D #576519 #829625

Accessibility & contrast

On white

13.05
#2D340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D340D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D340D#FFFFFF#000000##FFFFFF
##2D340D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383108
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#30312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d340d;
/* rgb */ color: rgb(45, 52, 13);
/* oklch */ color: oklch(30.9% 0.059 118.7);
Tailwind
colors: {
  custom: {
    50: '#676b4e',
    500: '#2d340d',
    950: '#000000',
  },
}
SCSS
$custom: #2d340d;
$custom-light: #676b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d340d",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 70.769,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30884,
    "c": 0.05949,
    "h": 118.7
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#2D340D
secondary
#392D6F
accent
#45E361
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D340D

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

Preview Lab → · Contrast checker → · Palette generator →

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