#2B380B#2B380B

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

Color values

HEX#2B380B
RGBrgb(43, 56, 11)
HSLhsl(77, 67%, 13%)
HSVhsv(77, 80%, 22%)
CMYKcmyk(23.2%, 0%, 80.4%, 78%)
CIE-LABlab(21.45, -13.32, 25.03)
CIE-LCHlch(21.45, 28.36, 118.02°)
OKLaboklab(31.83% -0.0385 0.0566)
OKLCHoklch(31.83% 0.068 124.2)
XYZxyz(2.4709, 3.3661, 0.8361)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B380B #180B38
analogous
#382E0B #2B380B #14380B
triadic
#2B380B #0B2B38 #380B2B
tetradic
#2B380B #0B382E #180B38 #380B14
square
#2B380B #0B382E #180B38 #380B14
split-complementary
#2B380B #0B1438 #2E0B38
monochromatic
#141A05 #141A05 #2B380B #526B15 #7A9E1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B380B#FFFFFF#000000##FFFFFF
##2B380B1.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)
#3C3405
Deuteranopia (green-blind)
#3A330F
Tritanopia (blue-blind)
#2D352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b380b;
/* rgb */ color: rgb(43, 56, 11);
/* oklch */ color: oklch(31.8% 0.068 124.2);
Tailwind
colors: {
  custom: {
    50: '#666e4d',
    500: '#2b380b',
    950: '#000000',
  },
}
SCSS
$custom: #2b380b;
$custom-light: #666e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b380b",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 77.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.06846,
    "h": 124.2
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#2B380B
secondary
#402A75
accent
#3EEA70
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B380B

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

Preview Lab → · Contrast checker → · Palette generator →

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