#2A2D0C#2A2D0C

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

Color values

HEX#2A2D0C
RGBrgb(42, 45, 12)
HSLhsl(65, 58%, 11%)
HSVhsv(65, 73%, 18%)
CMYKcmyk(6.7%, 0%, 73.3%, 82.4%)
CIE-LABlab(17.44, -7.03, 19.96)
CIE-LCHlch(17.44, 21.16, 109.42°)
OKLaboklab(28.58% -0.0208 0.0467)
OKLCHoklch(28.58% 0.051 114)
XYZxyz(1.9596, 2.3956, 0.7069)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D0C #0F0C2D
analogous
#2D1F0C #2A2D0C #192D0C
triadic
#2A2D0C #0C2A2D #2D0C2A
tetradic
#2A2D0C #0C2D1F #0F0C2D #2D0C19
square
#2A2D0C #0C2D1F #0F0C2D #2D0C19
split-complementary
#2A2D0C #0C192D #1F0C2D
monochromatic
#171806 #171806 #2A2D0C #575D19 #848E26

Accessibility & contrast

On white

14.20
#2A2D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D0C
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D0C#FFFFFF#000000##FFFFFF
##2A2D0C1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A08
Deuteranopia (green-blind)
#312B0E
Tritanopia (blue-blind)
#2D2A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d0c;
/* rgb */ color: rgb(42, 45, 12);
/* oklch */ color: oklch(28.6% 0.051 114.0);
Tailwind
colors: {
  custom: {
    50: '#64654d',
    500: '#2a2d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d0c;
$custom-light: #64654d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d0c",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 65.455,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28584,
    "c": 0.05116,
    "h": 114
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#2A2D0C
secondary
#322C69
accent
#47E155
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #2A2D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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