#2A2E1A#2A2E1A

#2A2E1A is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 29.1% C 0.034 H 117.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#2A2E1A
RGBrgb(42, 46, 26)
HSLhsl(72, 28%, 14%)
HSVhsv(72, 43%, 18%)
CMYKcmyk(8.7%, 0%, 43.5%, 82%)
CIE-LABlab(18.01, -5.90, 12.33)
CIE-LCHlch(18.01, 13.67, 115.56°)
OKLaboklab(29.11% -0.016 0.0304)
OKLCHoklch(29.11% 0.034 117.8)
XYZxyz(2.1183, 2.5208, 1.3521)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E1A #1E1A2E
analogous
#2E281A #2A2E1A #202E1A
triadic
#2A2E1A #1A2A2E #2E1A2A
tetradic
#2A2E1A #1A2E28 #1E1A2E #2E1A20
square
#2A2E1A #1A2E28 #1E1A2E #2E1A20
split-complementary
#2A2E1A #1A202E #281A2E
monochromatic
#12140B #12140B #2A2E1A #4E5530 #717C46

Accessibility & contrast

On white

13.96
#2A2E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2A2E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E1A
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E1A#FFFFFF#000000##FFFFFF
##2A2E1A1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C19
Deuteranopia (green-blind)
#302C1B
Tritanopia (blue-blind)
#2C2C29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2e1a;
/* rgb */ color: rgb(42, 46, 26);
/* oklch */ color: oklch(29.1% 0.034 117.8);
Tailwind
colors: {
  custom: {
    50: '#646656',
    500: '#2a2e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e1a;
$custom-light: #646656;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e1a",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 72,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.29113,
    "c": 0.03439,
    "h": 117.8
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#2A2E1A
secondary
#484262
accent
#64C477
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A2E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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