#2B380C#2B380C

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

Color values

HEX#2B380C
RGBrgb(43, 56, 12)
HSLhsl(78, 65%, 13%)
HSVhsv(78, 79%, 22%)
CMYKcmyk(23.2%, 0%, 78.6%, 78%)
CIE-LABlab(21.46, -13.24, 24.60)
CIE-LCHlch(21.46, 27.94, 118.30°)
OKLaboklab(31.84% -0.0382 0.0558)
OKLCHoklch(31.84% 0.068 124.4)
XYZxyz(2.4768, 3.3685, 0.8674)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B380C #190C38
analogous
#382F0C #2B380C #15380C
triadic
#2B380C #0C2B38 #380C2B
tetradic
#2B380C #0C382F #190C38 #380C15
square
#2B380C #0C382F #190C38 #380C15
split-complementary
#2B380C #0C1538 #2F0C38
monochromatic
#131905 #131905 #2B380C #526A17 #789D22

Accessibility & contrast

On white

12.55
#2B380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B380C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B380C
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B380C#FFFFFF#000000##FFFFFF
##2B380C1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3406
Deuteranopia (green-blind)
#3A330F
Tritanopia (blue-blind)
#2D352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b380c;
/* rgb */ color: rgb(43, 56, 12);
/* oklch */ color: oklch(31.8% 0.068 124.4);
Tailwind
colors: {
  custom: {
    50: '#666e4e',
    500: '#2b380c',
    950: '#000000',
  },
}
SCSS
$custom: #2b380c;
$custom-light: #666e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b380c",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 77.727,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31844,
    "c": 0.0676,
    "h": 124.4
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#2B380C
secondary
#412C74
accent
#40E872
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B380C

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

Preview Lab → · Contrast checker → · Palette generator →

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