#2C380C#2C380C

#2C380C is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.067 H 123.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2C380C
RGBrgb(44, 56, 12)
HSLhsl(76, 65%, 13%)
HSVhsv(76, 79%, 22%)
CMYKcmyk(21.4%, 0%, 78.6%, 78%)
CIE-LABlab(21.54, -12.75, 24.71)
CIE-LCHlch(21.54, 27.80, 117.29°)
OKLaboklab(31.93% -0.0369 0.056)
OKLCHoklch(31.93% 0.067 123.4)
XYZxyz(2.5193, 3.3903, 0.8694)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C380C #180C38
analogous
#382E0C #2C380C #16380C
triadic
#2C380C #0C2C38 #380C2C
tetradic
#2C380C #0C382E #180C38 #380C16
square
#2C380C #0C382E #180C38 #380C16
split-complementary
#2C380C #0C1638 #2E0C38
monochromatic
#141905 #141905 #2C380C #546A17 #7B9D22

Accessibility & contrast

On white

12.51
#2C380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C380C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C380C
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C380C#FFFFFF#000000##FFFFFF
##2C380C1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3406
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#2F352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c380c;
/* rgb */ color: rgb(44, 56, 12);
/* oklch */ color: oklch(31.9% 0.067 123.4);
Tailwind
colors: {
  custom: {
    50: '#676e4e',
    500: '#2c380c',
    950: '#000000',
  },
}
SCSS
$custom: #2c380c;
$custom-light: #676e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c380c",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 76.364,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3193,
    "c": 0.06705,
    "h": 123.4
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#2C380C
secondary
#3F2C74
accent
#40E86E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C380C

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

Preview Lab → · Contrast checker → · Palette generator →

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