#2D2F0C#2D2F0C

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

Color values

HEX#2D2F0C
RGBrgb(45, 47, 12)
HSLhsl(63, 59%, 12%)
HSVhsv(63, 74%, 18%)
CMYKcmyk(4.3%, 0%, 74.5%, 81.6%)
CIE-LABlab(18.44, -6.72, 21.23)
CIE-LCHlch(18.44, 22.27, 107.56°)
OKLaboklab(29.46% -0.0202 0.0491)
OKLCHoklch(29.46% 0.053 112.3)
XYZxyz(2.1651, 2.6175, 0.7389)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F0C #0E0C2F
analogous
#2F200C #2D2F0C #1C2F0C
triadic
#2D2F0C #0C2D2F #2F0C2D
tetradic
#2D2F0C #0C2F20 #0E0C2F #2F0C1C
square
#2D2F0C #0C2F20 #0E0C2F #2F0C1C
split-complementary
#2D2F0C #0C1C2F #200C2F
monochromatic
#171806 #171806 #2D2F0C #5C6018 #8A9125

Accessibility & contrast

On white

13.78
#2D2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F0C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F0C#FFFFFF#000000##FFFFFF
##2D2F0C1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#302C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f0c;
/* rgb */ color: rgb(45, 47, 12);
/* oklch */ color: oklch(29.5% 0.053 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674d',
    500: '#2d2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f0c;
$custom-light: #67674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f0c",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 63.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.05311,
    "h": 112.3
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#2D2F0C
secondary
#302C6B
accent
#45E34E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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