#2D2F09#2D2F09

#2D2F09 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.056 H 112.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2F09
RGBrgb(45, 47, 9)
HSLhsl(63, 68%, 11%)
HSVhsv(63, 81%, 18%)
CMYKcmyk(4.3%, 0%, 80.9%, 81.6%)
CIE-LABlab(18.41, -6.96, 22.46)
CIE-LCHlch(18.41, 23.52, 107.22°)
OKLaboklab(29.43% -0.0213 0.0518)
OKLCHoklch(29.43% 0.056 112.3)
XYZxyz(2.1481, 2.6107, 0.6491)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F09 #0B092F
analogous
#2F1E09 #2D2F09 #1A2F09
triadic
#2D2F09 #092D2F #2F092D
tetradic
#2D2F09 #092F1E #0B092F #2F091A
square
#2D2F09 #092F1E #0B092F #2F091A
split-complementary
#2D2F09 #091A2F #1E092F
monochromatic
#191A05 #191A05 #2D2F09 #5E6213 #8F961D

Accessibility & contrast

On white

13.80
#2D2F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2D2F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F09
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F09#FFFFFF#000000##FFFFFF
##2D2F091.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C05
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#312C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f09;
/* rgb */ color: rgb(45, 47, 9);
/* oklch */ color: oklch(29.4% 0.056 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674b',
    500: '#2d2f09',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f09;
$custom-light: #67674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f09",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 63.158,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29426,
    "c": 0.05601,
    "h": 112.3
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#2D2F09
secondary
#2A276D
accent
#3DEB46
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F09

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

Preview Lab → · Contrast checker → · Palette generator →

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