#2A2D0B#2A2D0B

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

Color values

HEX#2A2D0B
RGBrgb(42, 45, 11)
HSLhsl(65, 61%, 11%)
HSVhsv(65, 76%, 18%)
CMYKcmyk(6.7%, 0%, 75.6%, 82.4%)
CIE-LABlab(17.43, -7.12, 20.39)
CIE-LCHlch(17.43, 21.59, 109.26°)
OKLaboklab(28.57% -0.0212 0.0477)
OKLCHoklch(28.57% 0.052 114)
XYZxyz(1.9537, 2.3932, 0.6756)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D0B #0E0B2D
analogous
#2D1F0B #2A2D0B #192D0B
triadic
#2A2D0B #0B2A2D #2D0B2A
tetradic
#2A2D0B #0B2D1F #0E0B2D #2D0B19
square
#2A2D0B #0B2D1F #0E0B2D #2D0B19
split-complementary
#2A2D0B #0B192D #1F0B2D
monochromatic
#171906 #171906 #2A2D0B #585E17 #868F23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2D0B#FFFFFF#000000##FFFFFF
##2A2D0B1.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)
#312A07
Deuteranopia (green-blind)
#312B0D
Tritanopia (blue-blind)
#2D2A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d0b;
/* rgb */ color: rgb(42, 45, 11);
/* oklch */ color: oklch(28.6% 0.052 114.0);
Tailwind
colors: {
  custom: {
    50: '#65654c',
    500: '#2a2d0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d0b;
$custom-light: #65654c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d0b",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 65.294,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28572,
    "c": 0.0522,
    "h": 114
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#2A2D0B
secondary
#302A69
accent
#44E452
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #2A2D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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