#2C340C#2C340C

#2C340C is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.061 H 119.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2C340C
RGBrgb(44, 52, 12)
HSLhsl(72, 63%, 13%)
HSVhsv(72, 77%, 20%)
CMYKcmyk(15.4%, 0%, 76.9%, 79.6%)
CIE-LABlab(20.12, -10.36, 23.13)
CIE-LCHlch(20.12, 25.35, 114.12°)
OKLaboklab(30.78% -0.0303 0.0529)
OKLCHoklch(30.78% 0.061 119.8)
XYZxyz(2.3331, 3.0180, 0.8074)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C340C #140C34
analogous
#34280C #2C340C #18340C
triadic
#2C340C #0C2C34 #340C2C
tetradic
#2C340C #0C3428 #140C34 #340C18
square
#2C340C #0C3428 #140C34 #340C18
split-complementary
#2C340C #0C1834 #280C34
monochromatic
#151906 #151906 #2C340C #566617 #809723

Accessibility & contrast

On white

13.10
#2C340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C340C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C340C
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C340C#FFFFFF#000000##FFFFFF
##2C340C1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c340c;
/* rgb */ color: rgb(44, 52, 12);
/* oklch */ color: oklch(30.8% 0.061 119.8);
Tailwind
colors: {
  custom: {
    50: '#666b4d',
    500: '#2c340c',
    950: '#000000',
  },
}
SCSS
$custom: #2c340c;
$custom-light: #666b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c340c",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 72,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30779,
    "c": 0.06091,
    "h": 119.8
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#2C340C
secondary
#392C70
accent
#42E663
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C340C

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

Preview Lab → · Contrast checker → · Palette generator →

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