#2A3026#2A3026

#2A3026 is a dark, near-neutral yellow-green. Relative luminance 0.027; OKLCH L 30.0% C 0.019 H 132.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#2A3026
RGBrgb(42, 48, 38)
HSLhsl(96, 12%, 17%)
HSVhsv(96, 21%, 19%)
CMYKcmyk(12.5%, 0%, 20.8%, 81.2%)
CIE-LABlab(19.00, -4.95, 5.55)
CIE-LCHlch(19.00, 7.43, 131.73°)
OKLaboklab(29.99% -0.0132 0.0143)
OKLCHoklch(29.99% 0.019 132.9)
XYZxyz(2.3616, 2.7461, 2.2390)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3026 #2C2630
analogous
#2F3026 #2A3026 #263027
triadic
#2A3026 #262A30 #30262A
tetradic
#2A3026 #262F30 #2C2630 #302726
square
#2A3026 #262F30 #2C2630 #302726
split-complementary
#2A3026 #272630 #30262F
monochromatic
#0F110E #0F110E #2A3026 #485241 #66745C

Accessibility & contrast

On white

13.56
#2A3026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2A3026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3026
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3026#FFFFFF#000000##FFFFFF
##2A30261.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312E25
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#2A2F2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3026;
/* rgb */ color: rgb(42, 48, 38);
/* oklch */ color: oklch(30.0% 0.019 132.9);
Tailwind
colors: {
  custom: {
    50: '#636860',
    500: '#2a3026',
    950: '#000000',
  },
}
SCSS
$custom: #2a3026;
$custom-light: #636860;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3026",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 38
  },
  "hsl": {
    "h": 96,
    "s": 11.628,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29991,
    "c": 0.01948,
    "h": 132.9
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#2A3026
secondary
#5A5260
accent
#73B59A
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2A3026

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

Preview Lab → · Contrast checker → · Palette generator →

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