#2D2705#2D2705

#2D2705 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.051 H 99.1°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#2D2705
RGBrgb(45, 39, 5)
HSLhsl(51, 80%, 10%)
HSVhsv(51, 89%, 18%)
CMYKcmyk(0%, 13.3%, 88.9%, 82.4%)
CIE-LABlab(15.59, -2.03, 20.63)
CIE-LCHlch(15.59, 20.73, 95.63°)
OKLaboklab(27.17% -0.008 0.0499)
OKLCHoklch(27.17% 0.051 99.1)
XYZxyz(1.8352, 2.0200, 0.4368)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2705 #050B2D
analogous
#2D1305 #2D2705 #1F2D05
triadic
#2D2705 #052D27 #27052D
tetradic
#2D2705 #052D13 #050B2D #2D051F
square
#2D2705 #052D13 #050B2D #2D051F
split-complementary
#2D2705 #051F2D #13052D
monochromatic
#1C1803 #1C1803 #2D2705 #64570B #9B8611

Accessibility & contrast

On white

14.96
#2D2705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2D2705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2705
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2705#FFFFFF#000000##FFFFFF
##2D27051.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2602
Deuteranopia (green-blind)
#2D2807
Tritanopia (blue-blind)
#312320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d2705;
/* rgb */ color: rgb(45, 39, 5);
/* oklch */ color: oklch(27.2% 0.051 99.1);
Tailwind
colors: {
  custom: {
    50: '#676049',
    500: '#2d2705',
    950: '#000000',
  },
}
SCSS
$custom: #2d2705;
$custom-light: #676049;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2705",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 5
  },
  "hsl": {
    "h": 51,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27166,
    "c": 0.05055,
    "h": 99.1
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#2D2705
secondary
#1F2B6F
accent
#4FF631
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2705

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

Preview Lab → · Contrast checker → · Palette generator →

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