#2B380F#2B380F

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

Color values

HEX#2B380F
RGBrgb(43, 56, 15)
HSLhsl(79, 58%, 14%)
HSVhsv(79, 73%, 22%)
CMYKcmyk(23.2%, 0%, 73.2%, 78%)
CIE-LABlab(21.49, -12.97, 23.15)
CIE-LCHlch(21.49, 26.54, 119.26°)
OKLaboklab(31.88% -0.0371 0.0531)
OKLCHoklch(31.88% 0.065 124.9)
XYZxyz(2.4967, 3.3764, 0.9720)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B380F #1C0F38
analogous
#38310F #2B380F #17380F
triadic
#2B380F #0F2B38 #380F2B
tetradic
#2B380F #0F3831 #1C0F38 #380F17
square
#2B380F #0F3831 #1C0F38 #380F17
split-complementary
#2B380F #0F1738 #310F38
monochromatic
#131806 #131806 #2B380F #50681C #759929

Accessibility & contrast

On white

12.54
#2B380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B380F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B380F#FFFFFF#000000##FFFFFF
##2B380F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340A
Deuteranopia (green-blind)
#3A3312
Tritanopia (blue-blind)
#2D352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b380f;
/* rgb */ color: rgb(43, 56, 15);
/* oklch */ color: oklch(31.9% 0.065 124.9);
Tailwind
colors: {
  custom: {
    50: '#666e4f',
    500: '#2b380f',
    950: '#000000',
  },
}
SCSS
$custom: #2b380f;
$custom-light: #666e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b380f",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 79.024,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31877,
    "c": 0.06481,
    "h": 124.9
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#2B380F
secondary
#453072
accent
#47E178
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B380F

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

Preview Lab → · Contrast checker → · Palette generator →

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