#2D250C#2D250C

#2D250C is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.7% C 0.041 H 91.7°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#2D250C
RGBrgb(45, 37, 12)
HSLhsl(45, 58%, 11%)
HSVhsv(45, 73%, 18%)
CMYKcmyk(0%, 17.8%, 73.3%, 82.4%)
CIE-LABlab(15.00, -0.07, 16.98)
CIE-LCHlch(15.00, 16.98, 90.25°)
OKLaboklab(26.72% -0.0012 0.041)
OKLCHoklch(26.72% 0.041 91.7)
XYZxyz(1.8102, 1.9077, 0.6206)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D250C #0C142D
analogous
#2D140C #2D250C #242D0C
triadic
#2D250C #0C2D25 #250C2D
tetradic
#2D250C #0C2D14 #0C142D #2D0C24
square
#2D250C #0C2D14 #0C142D #2D0C24
split-complementary
#2D250C #0C242D #140C2D
monochromatic
#181406 #181406 #2D250C #5D4D19 #8E7426

Accessibility & contrast

On white

15.20
#2D250C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2D250C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D250C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D250C#FFFFFF#000000##FFFFFF
##2D250C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2409
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#31221F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2d250c;
/* rgb */ color: rgb(45, 37, 12);
/* oklch */ color: oklch(26.7% 0.041 91.7);
Tailwind
colors: {
  custom: {
    50: '#675f4c',
    500: '#2d250c',
    950: '#000000',
  },
}
SCSS
$custom: #2d250c;
$custom-light: #675f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d250c",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 12
  },
  "hsl": {
    "h": 45.455,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2672,
    "c": 0.04105,
    "h": 91.7
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#2D250C
secondary
#2C3B69
accent
#6CE147
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2D250C

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

Preview Lab → · Contrast checker → · Palette generator →

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