#2A381C#2A381C

#2A381C is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.050 H 130.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2A381C
RGBrgb(42, 56, 28)
HSLhsl(90, 33%, 16%)
HSVhsv(90, 50%, 22%)
CMYKcmyk(25%, 0%, 50%, 78%)
CIE-LABlab(21.60, -11.81, 15.63)
CIE-LCHlch(21.60, 19.59, 127.07°)
OKLaboklab(32% -0.0325 0.0381)
OKLCHoklch(32% 0.05 130.5)
XYZxyz(2.5786, 3.4044, 1.6196)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A381C #2A1C38
analogous
#38381C #2A381C #1C381C
triadic
#2A381C #1C2A38 #381C2A
tetradic
#2A381C #1C3838 #2A1C38 #381C1C
square
#2A381C #1C3838 #2A1C38 #381C1C
split-complementary
#2A381C #1C1C38 #381C38
monochromatic
#0F140A #0F140A #2A381C #496130 #678A45

Accessibility & contrast

On white

12.49
#2A381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A381C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A381C#FFFFFF#000000##FFFFFF
##2A381C1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341A
Deuteranopia (green-blind)
#38331E
Tritanopia (blue-blind)
#2B3631
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a381c;
/* rgb */ color: rgb(42, 56, 28);
/* oklch */ color: oklch(32.0% 0.050 130.5);
Tailwind
colors: {
  custom: {
    50: '#646e58',
    500: '#2a381c',
    950: '#000000',
  },
}
SCSS
$custom: #2a381c;
$custom-light: #646e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a381c",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.31999,
    "c": 0.05009,
    "h": 130.5
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#2A381C
secondary
#58436C
accent
#5EC994
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050703
muted
#7A7A78

Preview Lab

Preview with #2A381C

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

Preview Lab → · Contrast checker → · Palette generator →

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