#2B380E#2B380E

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

Color values

HEX#2B380E
RGBrgb(43, 56, 14)
HSLhsl(79, 60%, 14%)
HSVhsv(79, 75%, 22%)
CMYKcmyk(23.2%, 0%, 75%, 78%)
CIE-LABlab(21.48, -13.07, 23.66)
CIE-LCHlch(21.48, 27.03, 118.91°)
OKLaboklab(31.87% -0.0375 0.0541)
OKLCHoklch(31.87% 0.066 124.7)
XYZxyz(2.4897, 3.3736, 0.9354)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B380E #1B0E38
analogous
#38300E #2B380E #16380E
triadic
#2B380E #0E2B38 #380E2B
tetradic
#2B380E #0E3830 #1B0E38 #380E16
square
#2B380E #0E3830 #1B0E38 #380E16
split-complementary
#2B380E #0E1638 #300E38
monochromatic
#131806 #131806 #2B380E #51691A #769A26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B380E#FFFFFF#000000##FFFFFF
##2B380E1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b380e;
/* rgb */ color: rgb(43, 56, 14);
/* oklch */ color: oklch(31.9% 0.066 124.7);
Tailwind
colors: {
  custom: {
    50: '#666e4f',
    500: '#2b380e',
    950: '#000000',
  },
}
SCSS
$custom: #2b380e;
$custom-light: #666e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b380e",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 14
  },
  "hsl": {
    "h": 78.571,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31865,
    "c": 0.06577,
    "h": 124.7
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#2B380E
secondary
#442F73
accent
#45E376
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B380E

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

Preview Lab → · Contrast checker → · Palette generator →

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