#2D250B#2D250B

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

Color values

HEX#2D250B
RGBrgb(45, 37, 11)
HSLhsl(46, 61%, 11%)
HSVhsv(46, 76%, 18%)
CMYKcmyk(0%, 17.8%, 75.6%, 82.4%)
CIE-LABlab(14.98, -0.17, 17.40)
CIE-LCHlch(14.98, 17.40, 90.55°)
OKLaboklab(26.71% -0.0016 0.0421)
OKLCHoklch(26.71% 0.042 92.2)
XYZxyz(1.8042, 1.9053, 0.5893)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D250B #0B132D
analogous
#2D140B #2D250B #242D0B
triadic
#2D250B #0B2D25 #250B2D
tetradic
#2D250B #0B2D14 #0B132D #2D0B24
square
#2D250B #0B2D14 #0B132D #2D0B24
split-complementary
#2D250B #0B242D #140B2D
monochromatic
#191406 #191406 #2D250B #5E4D17 #8F7623

Accessibility & contrast

On white

15.21
#2D250B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D250B
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D250B#FFFFFF#000000##FFFFFF
##2D250B1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d250b;
/* rgb */ color: rgb(45, 37, 11);
/* oklch */ color: oklch(26.7% 0.042 92.2);
Tailwind
colors: {
  custom: {
    50: '#675f4c',
    500: '#2d250b',
    950: '#000000',
  },
}
SCSS
$custom: #2d250b;
$custom-light: #675f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d250b",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 11
  },
  "hsl": {
    "h": 45.882,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26706,
    "c": 0.04215,
    "h": 92.2
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#2D250B
secondary
#2A3969
accent
#6AE444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2D250B

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

Preview Lab → · Contrast checker → · Palette generator →

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