#2A2D08#2A2D08

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

Color values

HEX#2A2D08
RGBrgb(42, 45, 8)
HSLhsl(65, 70%, 10%)
HSVhsv(65, 82%, 18%)
CMYKcmyk(6.7%, 0%, 82.2%, 82.4%)
CIE-LABlab(17.40, -7.38, 21.58)
CIE-LCHlch(17.40, 22.81, 108.88°)
OKLaboklab(28.54% -0.0223 0.0505)
OKLCHoklch(28.54% 0.055 113.9)
XYZxyz(1.9371, 2.3866, 0.5883)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D08 #0B082D
analogous
#2D1D08 #2A2D08 #172D08
triadic
#2A2D08 #082A2D #2D082A
tetradic
#2A2D08 #082D1D #0B082D #2D0817
square
#2A2D08 #082D1D #0B082D #2D0817
split-complementary
#2A2D08 #08172D #1D082D
monochromatic
#181A05 #181A05 #2A2D08 #5A6111 #8B951A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2D08#FFFFFF#000000##FFFFFF
##2A2D081.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)
#312A04
Deuteranopia (green-blind)
#312B0B
Tritanopia (blue-blind)
#2D2A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d08;
/* rgb */ color: rgb(42, 45, 8);
/* oklch */ color: oklch(28.5% 0.055 113.9);
Tailwind
colors: {
  custom: {
    50: '#65654b',
    500: '#2a2d08',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d08;
$custom-light: #65654b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d08",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 64.865,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28537,
    "c": 0.0552,
    "h": 113.9
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#2A2D08
secondary
#2B256C
accent
#3BED4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2D08

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

Preview Lab → · Contrast checker → · Palette generator →

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