#2C340B#2C340B

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

Color values

HEX#2C340B
RGBrgb(44, 52, 11)
HSLhsl(72, 65%, 12%)
HSVhsv(72, 79%, 20%)
CMYKcmyk(15.4%, 0%, 78.8%, 79.6%)
CIE-LABlab(20.11, -10.44, 23.57)
CIE-LCHlch(20.11, 25.78, 113.90°)
OKLaboklab(30.77% -0.0306 0.0537)
OKLCHoklch(30.77% 0.062 119.7)
XYZxyz(2.3271, 3.0156, 0.7760)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C340B #130B34
analogous
#34270B #2C340B #18340B
triadic
#2C340B #0B2C34 #340B2C
tetradic
#2C340B #0B3427 #130B34 #340B18
square
#2C340B #0B3427 #130B34 #340B18
split-complementary
#2C340B #0B1834 #270B34
monochromatic
#151905 #151905 #2C340B #576716 #819920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C340B#FFFFFF#000000##FFFFFF
##2C340B1.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)
#383106
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#2F312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c340b;
/* rgb */ color: rgb(44, 52, 11);
/* oklch */ color: oklch(30.8% 0.062 119.7);
Tailwind
colors: {
  custom: {
    50: '#676b4d',
    500: '#2c340b',
    950: '#000000',
  },
}
SCSS
$custom: #2c340b;
$custom-light: #676b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c340b",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 71.707,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30768,
    "c": 0.06183,
    "h": 119.7
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#2C340B
secondary
#382A71
accent
#40E861
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C340B

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

Preview Lab → · Contrast checker → · Palette generator →

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