#2A2D12#2A2D12

#2A2D12 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.044 H 114.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#2A2D12
RGBrgb(42, 45, 18)
HSLhsl(67, 43%, 12%)
HSVhsv(67, 60%, 18%)
CMYKcmyk(6.7%, 0%, 60%, 82.4%)
CIE-LABlab(17.52, -6.39, 16.87)
CIE-LCHlch(17.52, 18.04, 110.73°)
OKLaboklab(28.67% -0.0182 0.0401)
OKLCHoklch(28.67% 0.044 114.4)
XYZxyz(2.0024, 2.4127, 0.9324)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D12 #15122D
analogous
#2D2312 #2A2D12 #1C2D12
triadic
#2A2D12 #122A2D #2D122A
tetradic
#2A2D12 #122D23 #15122D #2D121C
square
#2A2D12 #122D23 #15122D #2D121C
split-complementary
#2A2D12 #121C2D #23122D
monochromatic
#141609 #141609 #2A2D12 #535923 #7C8435

Accessibility & contrast

On white

14.16
#2A2D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D12
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D12#FFFFFF#000000##FFFFFF
##2A2D121.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#302B13
Tritanopia (blue-blind)
#2D2A27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d12;
/* rgb */ color: rgb(42, 45, 18);
/* oklch */ color: oklch(28.7% 0.044 114.4);
Tailwind
colors: {
  custom: {
    50: '#646550',
    500: '#2a2d12',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d12;
$custom-light: #646550;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d12",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 66.667,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28674,
    "c": 0.04401,
    "h": 114.4
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#2A2D12
secondary
#3B3665
accent
#55D363
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050502
muted
#7A7A78

Preview Lab

Preview with #2A2D12

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

Preview Lab → · Contrast checker → · Palette generator →

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