#2C340A#2C340A

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

Color values

HEX#2C340A
RGBrgb(44, 52, 10)
HSLhsl(71, 68%, 12%)
HSVhsv(71, 81%, 20%)
CMYKcmyk(15.4%, 0%, 80.8%, 79.6%)
CIE-LABlab(20.10, -10.52, 23.97)
CIE-LCHlch(20.10, 26.18, 113.70°)
OKLaboklab(30.76% -0.031 0.0545)
OKLCHoklch(30.76% 0.063 119.6)
XYZxyz(2.3215, 3.0134, 0.7464)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C340A #120A34
analogous
#34270A #2C340A #17340A
triadic
#2C340A #0A2C34 #340A2C
tetradic
#2C340A #0A3427 #120A34 #340A17
square
#2C340A #0A3427 #120A34 #340A17
split-complementary
#2C340A #0A1734 #270A34
monochromatic
#161A05 #161A05 #2C340A #576714 #839B1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C340A#FFFFFF#000000##FFFFFF
##2C340A1.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)
#383105
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#2F312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c340a;
/* rgb */ color: rgb(44, 52, 10);
/* oklch */ color: oklch(30.8% 0.063 119.6);
Tailwind
colors: {
  custom: {
    50: '#676b4c',
    500: '#2c340a',
    950: '#000000',
  },
}
SCSS
$custom: #2c340a;
$custom-light: #676b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c340a",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 71.429,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.06271,
    "h": 119.6
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#2C340A
secondary
#362871
accent
#3DEB5E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C340A

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

Preview Lab → · Contrast checker → · Palette generator →

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