#2A3418#2A3418

#2A3418 is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.048 H 125.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2A3418
RGBrgb(42, 52, 24)
HSLhsl(81, 37%, 15%)
HSVhsv(81, 54%, 20%)
CMYKcmyk(19.2%, 0%, 53.8%, 79.6%)
CIE-LABlab(20.10, -9.99, 16.27)
CIE-LCHlch(20.10, 19.10, 121.55°)
OKLaboklab(30.77% -0.0277 0.0393)
OKLCHoklch(30.77% 0.048 125.2)
XYZxyz(2.3477, 3.0142, 1.3221)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3418 #221834
analogous
#343018 #2A3418 #1C3418
triadic
#2A3418 #182A34 #34182A
tetradic
#2A3418 #183430 #221834 #34181C
square
#2A3418 #183430 #221834 #34181C
split-complementary
#2A3418 #181C34 #301834
monochromatic
#11150A #11150A #2A3418 #4C5E2B #6E883F

Accessibility & contrast

On white

13.10
#2A3418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2A3418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3418
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3418#FFFFFF#000000##FFFFFF
##2A34181.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#35301A
Tritanopia (blue-blind)
#2C322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3418;
/* rgb */ color: rgb(42, 52, 24);
/* oklch */ color: oklch(30.8% 0.048 125.2);
Tailwind
colors: {
  custom: {
    50: '#646b55',
    500: '#2a3418',
    950: '#000000',
  },
}
SCSS
$custom: #2a3418;
$custom-light: #646b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3418",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 24
  },
  "hsl": {
    "h": 81.429,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.04809,
    "h": 125.2
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#2A3418
secondary
#4E3E6A
accent
#5BCD84
background
#F6F6F5
surface
#EBEBE8
border
#C6C6C4
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2A3418

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

Preview Lab → · Contrast checker → · Palette generator →

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