#2A301C#2A301C

#2A301C is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.035 H 122.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2A301C
RGBrgb(42, 48, 28)
HSLhsl(78, 26%, 15%)
HSVhsv(78, 42%, 19%)
CMYKcmyk(12.5%, 0%, 41.7%, 81.2%)
CIE-LABlab(18.76, -6.86, 11.97)
CIE-LCHlch(18.76, 13.80, 119.81°)
OKLaboklab(29.72% -0.0186 0.0297)
OKLCHoklch(29.72% 0.035 122.1)
XYZxyz(2.2214, 2.6900, 1.5006)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A301C #221C30
analogous
#302C1C #2A301C #20301C
triadic
#2A301C #1C2A30 #301C2A
tetradic
#2A301C #1C302C #221C30 #301C20
square
#2A301C #1C302C #221C30 #301C20
split-complementary
#2A301C #1C2030 #2C1C30
monochromatic
#11130B #11130B #2A301C #4C5733 #6E7D49

Accessibility & contrast

On white

13.65
#2A301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A301C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A301C#FFFFFF#000000##FFFFFF
##2A301C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a301c;
/* rgb */ color: rgb(42, 48, 28);
/* oklch */ color: oklch(29.7% 0.035 122.1);
Tailwind
colors: {
  custom: {
    50: '#646858',
    500: '#2a301c',
    950: '#000000',
  },
}
SCSS
$custom: #2a301c;
$custom-light: #646858;
$custom-dark: #000000;
JSON
{
  "hex": "#2a301c",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 78,
    "s": 26.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.29721,
    "c": 0.03505,
    "h": 122.1
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#2A301C
secondary
#4E4463
accent
#65C381
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A301C

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

Preview Lab → · Contrast checker → · Palette generator →

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