#2D270B#2D270B

#2D270B is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.044 H 97.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#2D270B
RGBrgb(45, 39, 11)
HSLhsl(49, 61%, 11%)
HSVhsv(49, 76%, 18%)
CMYKcmyk(0%, 13.3%, 75.6%, 82.4%)
CIE-LABlab(15.66, -1.53, 18.27)
CIE-LCHlch(15.66, 18.33, 94.79°)
OKLaboklab(27.24% -0.0056 0.0437)
OKLCHoklch(27.24% 0.044 97.2)
XYZxyz(1.8682, 2.0332, 0.6106)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D270B #0B112D
analogous
#2D160B #2D270B #222D0B
triadic
#2D270B #0B2D27 #270B2D
tetradic
#2D270B #0B2D16 #0B112D #2D0B22
square
#2D270B #0B2D16 #0B112D #2D0B22
split-complementary
#2D270B #0B222D #160B2D
monochromatic
#191506 #191506 #2D270B #5E5217 #8F7C23

Accessibility & contrast

On white

14.93
#2D270B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2D270B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D270B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D270B#FFFFFF#000000##FFFFFF
##2D270B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2608
Deuteranopia (green-blind)
#2D280C
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d270b;
/* rgb */ color: rgb(45, 39, 11);
/* oklch */ color: oklch(27.2% 0.044 97.2);
Tailwind
colors: {
  custom: {
    50: '#67604c',
    500: '#2d270b',
    950: '#000000',
  },
}
SCSS
$custom: #2d270b;
$custom-light: #67604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d270b",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 49.412,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27242,
    "c": 0.04407,
    "h": 97.2
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#2D270B
secondary
#2A3669
accent
#60E444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D270B

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

Preview Lab → · Contrast checker → · Palette generator →

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