#2A381A#2A381A

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

Color values

HEX#2A381A
RGBrgb(42, 56, 26)
HSLhsl(88, 37%, 16%)
HSVhsv(88, 54%, 22%)
CMYKcmyk(25%, 0%, 53.6%, 78%)
CIE-LABlab(21.56, -12.11, 16.84)
CIE-LCHlch(21.56, 20.74, 125.73°)
OKLaboklab(31.96% -0.0335 0.0407)
OKLCHoklch(31.96% 0.053 129.5)
XYZxyz(2.5554, 3.3951, 1.4978)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A381A #281A38
analogous
#38371A #2A381A #1B381A
triadic
#2A381A #1A2A38 #381A2A
tetradic
#2A381A #1A3837 #281A38 #381A1B
square
#2A381A #1A3837 #281A38 #381A1B
split-complementary
#2A381A #1A1B38 #371A38
monochromatic
#10150A #10150A #2A381A #49622D #698C41

Accessibility & contrast

On white

12.51
#2A381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A381A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A381A#FFFFFF#000000##FFFFFF
##2A381A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a381a;
/* rgb */ color: rgb(42, 56, 26);
/* oklch */ color: oklch(32.0% 0.053 129.5);
Tailwind
colors: {
  custom: {
    50: '#646e57',
    500: '#2a381a',
    950: '#000000',
  },
}
SCSS
$custom: #2a381a;
$custom-light: #646e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a381a",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 88,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3196,
    "c": 0.05272,
    "h": 129.5
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#2A381A
secondary
#55416D
accent
#5BCD90
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050703
muted
#7A7A78

Preview Lab

Preview with #2A381A

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

Preview Lab → · Contrast checker → · Palette generator →

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