#2B380A#2B380A

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

Color values

HEX#2B380A
RGBrgb(43, 56, 10)
HSLhsl(77, 70%, 13%)
HSVhsv(77, 82%, 22%)
CMYKcmyk(23.2%, 0%, 82.1%, 78%)
CIE-LABlab(21.45, -13.40, 25.44)
CIE-LCHlch(21.45, 28.75, 117.78°)
OKLaboklab(31.82% -0.0388 0.0574)
OKLCHoklch(31.82% 0.069 124.1)
XYZxyz(2.4652, 3.3638, 0.8065)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B380A #170A38
analogous
#382E0A #2B380A #14380A
triadic
#2B380A #0A2B38 #380A2B
tetradic
#2B380A #0A382E #170A38 #380A14
square
#2B380A #0A382E #170A38 #380A14
split-complementary
#2B380A #0A1438 #2E0A38
monochromatic
#141A05 #141A05 #2B380A #536C13 #7BA01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B380A#FFFFFF#000000##FFFFFF
##2B380A1.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)
#3C3404
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#2D352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b380a;
/* rgb */ color: rgb(43, 56, 10);
/* oklch */ color: oklch(31.8% 0.069 124.1);
Tailwind
colors: {
  custom: {
    50: '#666e4c',
    500: '#2b380a',
    950: '#000000',
  },
}
SCSS
$custom: #2b380a;
$custom-light: #666e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b380a",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 10
  },
  "hsl": {
    "h": 76.957,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31824,
    "c": 0.06927,
    "h": 124.1
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#2B380A
secondary
#3E2875
accent
#3BED6D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B380A

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

Preview Lab → · Contrast checker → · Palette generator →

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