#2D340C#2D340C

#2D340C is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.9% C 0.060 H 118.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2D340C
RGBrgb(45, 52, 12)
HSLhsl(71, 63%, 13%)
HSVhsv(71, 77%, 20%)
CMYKcmyk(13.5%, 0%, 76.9%, 79.6%)
CIE-LABlab(20.20, -9.85, 23.26)
CIE-LCHlch(20.20, 25.26, 112.94°)
OKLaboklab(30.87% -0.0289 0.0531)
OKLCHoklch(30.87% 0.06 118.6)
XYZxyz(2.3766, 3.0404, 0.8094)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D340C #130C34
analogous
#34270C #2D340C #19340C
triadic
#2D340C #0C2D34 #340C2D
tetradic
#2D340C #0C3427 #130C34 #340C19
square
#2D340C #0C3427 #130C34 #340C19
split-complementary
#2D340C #0C1934 #270C34
monochromatic
#161906 #161906 #2D340C #586617 #839723

Accessibility & contrast

On white

13.06
#2D340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D340C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D340C#FFFFFF#000000##FFFFFF
##2D340C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383107
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#30312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d340c;
/* rgb */ color: rgb(45, 52, 12);
/* oklch */ color: oklch(30.9% 0.060 118.6);
Tailwind
colors: {
  custom: {
    50: '#676b4d',
    500: '#2d340c',
    950: '#000000',
  },
}
SCSS
$custom: #2d340c;
$custom-light: #676b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d340c",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 70.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.06045,
    "h": 118.6
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#2D340C
secondary
#382C70
accent
#42E65F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D340C

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

Preview Lab → · Contrast checker → · Palette generator →

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