#2A301E#2A301E

#2A301E is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.8% C 0.032 H 123.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#2A301E
RGBrgb(42, 48, 30)
HSLhsl(80, 23%, 15%)
HSVhsv(80, 38%, 19%)
CMYKcmyk(12.5%, 0%, 37.5%, 81.2%)
CIE-LABlab(18.80, -6.52, 10.70)
CIE-LCHlch(18.80, 12.53, 121.34°)
OKLaboklab(29.77% -0.0176 0.0268)
OKLCHoklch(29.77% 0.032 123.3)
XYZxyz(2.2461, 2.6999, 1.6308)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A301E #241E30
analogous
#302D1E #2A301E #21301E
triadic
#2A301E #1E2A30 #301E2A
tetradic
#2A301E #1E302D #241E30 #301E21
square
#2A301E #1E302D #241E30 #301E21
split-complementary
#2A301E #1E2130 #2D1E30
monochromatic
#10130C #10130C #2A301E #4B5636 #6C7B4D

Accessibility & contrast

On white

13.64
#2A301E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2A301E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A301E
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A301E#FFFFFF#000000##FFFFFF
##2A301E1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1D
Deuteranopia (green-blind)
#312E1F
Tritanopia (blue-blind)
#2B2E2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a301e;
/* rgb */ color: rgb(42, 48, 30);
/* oklch */ color: oklch(29.8% 0.032 123.3);
Tailwind
colors: {
  custom: {
    50: '#636859',
    500: '#2a301e',
    950: '#000000',
  },
}
SCSS
$custom: #2a301e;
$custom-light: #636859;
$custom-dark: #000000;
JSON
{
  "hex": "#2a301e",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 23.077,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29769,
    "c": 0.03201,
    "h": 123.3
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#2A301E
secondary
#504763
accent
#68C085
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A301E

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

Preview Lab → · Contrast checker → · Palette generator →

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