#2D260F#2D260F

#2D260F is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.038 H 92.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#2D260F
RGBrgb(45, 38, 15)
HSLhsl(46, 50%, 12%)
HSVhsv(46, 67%, 18%)
CMYKcmyk(0%, 15.6%, 66.7%, 82.4%)
CIE-LABlab(15.38, -0.46, 15.99)
CIE-LCHlch(15.38, 15.99, 91.65°)
OKLaboklab(27.03% -0.0018 0.0384)
OKLCHoklch(27.03% 0.038 92.8)
XYZxyz(1.8616, 1.9787, 0.7357)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D260F #0F162D
analogous
#2D170F #2D260F #252D0F
triadic
#2D260F #0F2D26 #260F2D
tetradic
#2D260F #0F2D17 #0F162D #2D0F25
square
#2D260F #0F2D17 #0F162D #2D0F25
split-complementary
#2D260F #0F252D #170F2D
monochromatic
#171308 #171308 #2D260F #5B4D1E #89742E

Accessibility & contrast

On white

15.05
#2D260F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2D260F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D260F
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D260F#FFFFFF#000000##FFFFFF
##2D260F1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250D
Deuteranopia (green-blind)
#2C2710
Tritanopia (blue-blind)
#312321
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2d260f;
/* rgb */ color: rgb(45, 38, 15);
/* oklch */ color: oklch(27.0% 0.038 92.8);
Tailwind
colors: {
  custom: {
    50: '#67604e',
    500: '#2d260f',
    950: '#000000',
  },
}
SCSS
$custom: #2d260f;
$custom-light: #67604e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d260f",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 15
  },
  "hsl": {
    "h": 46,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27034,
    "c": 0.03841,
    "h": 92.8
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#2D260F
secondary
#313E66
accent
#6FDA4E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2D260F

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

Preview Lab → · Contrast checker → · Palette generator →

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