#2A3818#2A3818

#2A3818 is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.055 H 128.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#2A3818
RGBrgb(42, 56, 24)
HSLhsl(86, 40%, 16%)
HSVhsv(86, 57%, 22%)
CMYKcmyk(25%, 0%, 57.1%, 78%)
CIE-LABlab(21.53, -12.40, 18.03)
CIE-LCHlch(21.53, 21.88, 124.52°)
OKLaboklab(31.92% -0.0345 0.0432)
OKLCHoklch(31.92% 0.055 128.6)
XYZxyz(2.5339, 3.3865, 1.3841)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3818 #261838
analogous
#383618 #2A3818 #1A3818
triadic
#2A3818 #182A38 #38182A
tetradic
#2A3818 #183836 #261838 #38181A
square
#2A3818 #183836 #261838 #38181A
split-complementary
#2A3818 #181A38 #361838
monochromatic
#101509 #101509 #2A3818 #4A632A #6A8E3D

Accessibility & contrast

On white

12.52
#2A3818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3818
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3818#FFFFFF#000000##FFFFFF
##2A38181.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3415
Deuteranopia (green-blind)
#39331A
Tritanopia (blue-blind)
#2B3631
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a3818;
/* rgb */ color: rgb(42, 56, 24);
/* oklch */ color: oklch(31.9% 0.055 128.6);
Tailwind
colors: {
  custom: {
    50: '#646e55',
    500: '#2a3818',
    950: '#000000',
  },
}
SCSS
$custom: #2a3818;
$custom-light: #646e55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3818",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 24
  },
  "hsl": {
    "h": 86.25,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31924,
    "c": 0.05526,
    "h": 128.6
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#2A3818
secondary
#533E6E
accent
#58D08C
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050703
muted
#7A7A78

Preview Lab

Preview with #2A3818

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

Preview Lab → · Contrast checker → · Palette generator →

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