#2D2F0E#2D2F0E

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

Color values

HEX#2D2F0E
RGBrgb(45, 47, 14)
HSLhsl(64, 54%, 12%)
HSVhsv(64, 70%, 18%)
CMYKcmyk(4.3%, 0%, 70.2%, 81.6%)
CIE-LABlab(18.46, -6.54, 20.29)
CIE-LCHlch(18.46, 21.32, 107.85°)
OKLaboklab(29.49% -0.0194 0.0472)
OKLCHoklch(29.49% 0.051 112.3)
XYZxyz(2.1780, 2.6227, 0.8069)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F0E #100E2F
analogous
#2F210E #2D2F0E #1D2F0E
triadic
#2D2F0E #0E2D2F #2F0E2D
tetradic
#2D2F0E #0E2F21 #100E2F #2F0E1D
square
#2D2F0E #0E2F21 #100E2F #2F0E1D
split-complementary
#2D2F0E #0E1D2F #210E2F
monochromatic
#171807 #171807 #2D2F0E #5A5E1C #878D2A

Accessibility & contrast

On white

13.77
#2D2F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F0E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F0E#FFFFFF#000000##FFFFFF
##2D2F0E1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2f0e;
/* rgb */ color: rgb(45, 47, 14);
/* oklch */ color: oklch(29.5% 0.051 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674e',
    500: '#2d2f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f0e;
$custom-light: #67674e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f0e",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 63.636,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29485,
    "c": 0.05098,
    "h": 112.3
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#2D2F0E
secondary
#332F69
accent
#4ADD53
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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