#2D340F#2D340F

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

Color values

HEX#2D340F
RGBrgb(45, 52, 15)
HSLhsl(71, 55%, 13%)
HSVhsv(71, 71%, 20%)
CMYKcmyk(13.5%, 0%, 71.2%, 79.6%)
CIE-LABlab(20.24, -9.58, 21.82)
CIE-LCHlch(20.24, 23.83, 113.70°)
OKLaboklab(30.91% -0.0278 0.0503)
OKLCHoklch(30.91% 0.057 118.9)
XYZxyz(2.3964, 3.0484, 0.9140)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D340F #160F34
analogous
#34280F #2D340F #1A340F
triadic
#2D340F #0F2D34 #340F2D
tetradic
#2D340F #0F3428 #160F34 #340F1A
square
#2D340F #0F3428 #160F34 #340F1A
split-complementary
#2D340F #0F1A34 #280F34
monochromatic
#151807 #151807 #2D340F #56631D #7F932A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D340F#FFFFFF#000000##FFFFFF
##2D340F1.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)
#38310B
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#30312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d340f;
/* rgb */ color: rgb(45, 52, 15);
/* oklch */ color: oklch(30.9% 0.057 118.9);
Tailwind
colors: {
  custom: {
    50: '#676b4f',
    500: '#2d340f',
    950: '#000000',
  },
}
SCSS
$custom: #2d340f;
$custom-light: #676b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d340f",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 71.351,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30908,
    "c": 0.05746,
    "h": 118.9
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#2D340F
secondary
#3C316E
accent
#49DF65
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D340F

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

Preview Lab → · Contrast checker → · Palette generator →

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