#2C380B#2C380B

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

Color values

HEX#2C380B
RGBrgb(44, 56, 11)
HSLhsl(76, 67%, 13%)
HSVhsv(76, 80%, 22%)
CMYKcmyk(21.4%, 0%, 80.4%, 78%)
CIE-LABlab(21.54, -12.83, 25.14)
CIE-LCHlch(21.54, 28.23, 117.03°)
OKLaboklab(31.92% -0.0372 0.0568)
OKLCHoklch(31.92% 0.068 123.2)
XYZxyz(2.5133, 3.3880, 0.8381)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C380B #170B38
analogous
#382D0B #2C380B #15380B
triadic
#2C380B #0B2C38 #380B2C
tetradic
#2C380B #0B382D #170B38 #380B15
square
#2C380B #0B382D #170B38 #380B15
split-complementary
#2C380B #0B1538 #2D0B38
monochromatic
#141A05 #141A05 #2C380B #546B15 #7C9E1F

Accessibility & contrast

On white

12.52
#2C380B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C380B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C380B#FFFFFF#000000##FFFFFF
##2C380B1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c380b;
/* rgb */ color: rgb(44, 56, 11);
/* oklch */ color: oklch(31.9% 0.068 123.2);
Tailwind
colors: {
  custom: {
    50: '#676e4d',
    500: '#2c380b',
    950: '#000000',
  },
}
SCSS
$custom: #2c380b;
$custom-light: #676e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c380b",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 76,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3192,
    "c": 0.06791,
    "h": 123.2
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#2C380B
secondary
#3E2A75
accent
#3EEA6C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C380B

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

Preview Lab → · Contrast checker → · Palette generator →

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