#2D2F0F#2D2F0F

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

Color values

HEX#2D2F0F
RGBrgb(45, 47, 15)
HSLhsl(64, 52%, 12%)
HSVhsv(64, 68%, 18%)
CMYKcmyk(4.3%, 0%, 68.1%, 81.6%)
CIE-LABlab(18.48, -6.44, 19.79)
CIE-LCHlch(18.48, 20.81, 108.02°)
OKLaboklab(29.5% -0.019 0.0461)
OKLCHoklch(29.5% 0.05 112.4)
XYZxyz(2.1850, 2.6255, 0.8435)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F0F #110F2F
analogous
#2F210F #2D2F0F #1D2F0F
triadic
#2D2F0F #0F2D2F #2F0F2D
tetradic
#2D2F0F #0F2F21 #110F2F #2F0F1D
square
#2D2F0F #0F2F21 #110F2F #2F0F1D
split-complementary
#2D2F0F #0F1D2F #210F2F
monochromatic
#161707 #161707 #2D2F0F #595D1E #868C2D

Accessibility & contrast

On white

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

On black

1.53
#2D2F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D2F0F#FFFFFF#000000##FFFFFF
##2D2F0F1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2f0f;
/* rgb */ color: rgb(45, 47, 15);
/* oklch */ color: oklch(29.5% 0.050 112.4);
Tailwind
colors: {
  custom: {
    50: '#67674e',
    500: '#2d2f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f0f;
$custom-light: #67674e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f0f",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 63.75,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29498,
    "c": 0.04986,
    "h": 112.4
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#2D2F0F
secondary
#353169
accent
#4DDB56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D2F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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