#2C340F#2C340F

#2C340F is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.058 H 120.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2C340F
RGBrgb(44, 52, 15)
HSLhsl(73, 55%, 13%)
HSVhsv(73, 71%, 20%)
CMYKcmyk(15.4%, 0%, 71.2%, 79.6%)
CIE-LABlab(20.15, -10.09, 21.69)
CIE-LCHlch(20.15, 23.92, 114.93°)
OKLaboklab(30.81% -0.0291 0.0501)
OKLCHoklch(30.81% 0.058 120.2)
XYZxyz(2.3530, 3.0260, 0.9120)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C340F #170F34
analogous
#34290F #2C340F #19340F
triadic
#2C340F #0F2C34 #340F2C
tetradic
#2C340F #0F3429 #170F34 #340F19
square
#2C340F #0F3429 #170F34 #340F19
split-complementary
#2C340F #0F1934 #290F34
monochromatic
#141807 #141807 #2C340F #54631D #7C932A

Accessibility & contrast

On white

13.08
#2C340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C340F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C340F#FFFFFF#000000##FFFFFF
##2C340F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#2F312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c340f;
/* rgb */ color: rgb(44, 52, 15);
/* oklch */ color: oklch(30.8% 0.058 120.2);
Tailwind
colors: {
  custom: {
    50: '#666b4f',
    500: '#2c340f',
    950: '#000000',
  },
}
SCSS
$custom: #2c340f;
$custom-light: #666b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c340f",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 72.973,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30814,
    "c": 0.05792,
    "h": 120.2
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#2C340F
secondary
#3E316E
accent
#49DF6A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2C340F

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

Preview Lab → · Contrast checker → · Palette generator →

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