#2A3618#2A3618

#2A3618 is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.3% C 0.052 H 127.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#2A3618
RGBrgb(42, 54, 24)
HSLhsl(84, 38%, 15%)
HSVhsv(84, 56%, 21%)
CMYKcmyk(22.2%, 0%, 55.6%, 78.8%)
CIE-LABlab(20.81, -11.21, 17.15)
CIE-LCHlch(20.81, 20.49, 123.15°)
OKLaboklab(31.35% -0.0311 0.0412)
OKLCHoklch(31.35% 0.052 127.1)
XYZxyz(2.4389, 3.1965, 1.3525)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3618 #241836
analogous
#363318 #2A3618 #1B3618
triadic
#2A3618 #182A36 #36182A
tetradic
#2A3618 #183633 #241836 #36181B
square
#2A3618 #183633 #241836 #36181B
split-complementary
#2A3618 #181B36 #331836
monochromatic
#101509 #101509 #2A3618 #4B602B #6C8B3E

Accessibility & contrast

On white

12.81
#2A3618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2A3618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3618
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3618#FFFFFF#000000##FFFFFF
##2A36181.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#37321A
Tritanopia (blue-blind)
#2B342F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3618;
/* rgb */ color: rgb(42, 54, 24);
/* oklch */ color: oklch(31.3% 0.052 127.1);
Tailwind
colors: {
  custom: {
    50: '#646d55',
    500: '#2a3618',
    950: '#000000',
  },
}
SCSS
$custom: #2a3618;
$custom-light: #646d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3618",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 24
  },
  "hsl": {
    "h": 84,
    "s": 38.462,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31348,
    "c": 0.05168,
    "h": 127.1
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#2A3618
secondary
#503E6C
accent
#59CE88
background
#F6F6F5
surface
#EBEBE8
border
#C6C6C4
text
#050703
muted
#7A7A78

Preview Lab

Preview with #2A3618

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

Preview Lab → · Contrast checker → · Palette generator →

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