#2D2F0A#2D2F0A

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

Color values

HEX#2D2F0A
RGBrgb(45, 47, 10)
HSLhsl(63, 65%, 11%)
HSVhsv(63, 79%, 18%)
CMYKcmyk(4.3%, 0%, 78.7%, 81.6%)
CIE-LABlab(18.42, -6.88, 22.06)
CIE-LCHlch(18.42, 23.11, 107.33°)
OKLaboklab(29.44% -0.0209 0.0509)
OKLCHoklch(29.44% 0.055 112.3)
XYZxyz(2.1536, 2.6129, 0.6780)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F0A #0C0A2F
analogous
#2F1E0A #2D2F0A #1A2F0A
triadic
#2D2F0A #0A2D2F #2F0A2D
tetradic
#2D2F0A #0A2F1E #0C0A2F #2F0A1A
square
#2D2F0A #0A2F1E #0C0A2F #2F0A1A
split-complementary
#2D2F0A #0A1A2F #1E0A2F
monochromatic
#181905 #181905 #2D2F0A #5D6115 #8E941F

Accessibility & contrast

On white

13.79
#2D2F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F0A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F0A#FFFFFF#000000##FFFFFF
##2D2F0A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2f0a;
/* rgb */ color: rgb(45, 47, 10);
/* oklch */ color: oklch(29.4% 0.055 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674c',
    500: '#2d2f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f0a;
$custom-light: #67674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f0a",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 63.243,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29437,
    "c": 0.05506,
    "h": 112.3
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#2D2F0A
secondary
#2C296C
accent
#40E849
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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