#2A2D09#2A2D09

#2A2D09 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.054 H 113.9°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#2A2D09
RGBrgb(42, 45, 9)
HSLhsl(65, 67%, 11%)
HSVhsv(65, 80%, 18%)
CMYKcmyk(6.7%, 0%, 80%, 82.4%)
CIE-LABlab(17.41, -7.30, 21.19)
CIE-LCHlch(17.41, 22.41, 109.00°)
OKLaboklab(28.55% -0.0219 0.0495)
OKLCHoklch(28.55% 0.054 113.9)
XYZxyz(1.9426, 2.3888, 0.6171)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D09 #0C092D
analogous
#2D1E09 #2A2D09 #182D09
triadic
#2A2D09 #092A2D #2D092A
tetradic
#2A2D09 #092D1E #0C092D #2D0918
square
#2A2D09 #092D1E #0C092D #2D0918
split-complementary
#2A2D09 #09182D #1E092D
monochromatic
#181A05 #181A05 #2A2D09 #5A6013 #89931D

Accessibility & contrast

On white

14.21
#2A2D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D09
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D09#FFFFFF#000000##FFFFFF
##2A2D091.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2d09;
/* rgb */ color: rgb(42, 45, 9);
/* oklch */ color: oklch(28.5% 0.054 113.9);
Tailwind
colors: {
  custom: {
    50: '#65654b',
    500: '#2a2d09',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d09;
$custom-light: #65654b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d09",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 9
  },
  "hsl": {
    "h": 65,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28549,
    "c": 0.05419,
    "h": 113.9
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#2A2D09
secondary
#2D276B
accent
#3EEA4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2D09

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

Preview Lab → · Contrast checker → · Palette generator →

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