#2A2D0F#2A2D0F

#2A2D0F is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.048 H 114.2°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#2A2D0F
RGBrgb(42, 45, 15)
HSLhsl(66, 50%, 12%)
HSVhsv(66, 67%, 18%)
CMYKcmyk(6.7%, 0%, 66.7%, 82.4%)
CIE-LABlab(17.48, -6.73, 18.52)
CIE-LCHlch(17.48, 19.71, 109.97°)
OKLaboklab(28.63% -0.0196 0.0436)
OKLCHoklch(28.63% 0.048 114.2)
XYZxyz(1.9795, 2.4035, 0.8115)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D0F #120F2D
analogous
#2D210F #2A2D0F #1B2D0F
triadic
#2A2D0F #0F2A2D #2D0F2A
tetradic
#2A2D0F #0F2D21 #120F2D #2D0F1B
square
#2A2D0F #0F2D21 #120F2D #2D0F1B
split-complementary
#2A2D0F #0F1B2D #210F2D
monochromatic
#151708 #151708 #2A2D0F #555B1E #80892E

Accessibility & contrast

On white

14.18
#2A2D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D0F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D0F#FFFFFF#000000##FFFFFF
##2A2D0F1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#2D2A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d0f;
/* rgb */ color: rgb(42, 45, 15);
/* oklch */ color: oklch(28.6% 0.048 114.2);
Tailwind
colors: {
  custom: {
    50: '#64654e',
    500: '#2a2d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d0f;
$custom-light: #64654e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d0f",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 66,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.04775,
    "h": 114.2
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#2A2D0F
secondary
#373166
accent
#4EDA5C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #2A2D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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