#2D270D#2D270D

#2D270D is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.3% C 0.042 H 96.5°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#2D270D
RGBrgb(45, 39, 13)
HSLhsl(49, 55%, 11%)
HSVhsv(49, 71%, 18%)
CMYKcmyk(0%, 13.3%, 71.1%, 82.4%)
CIE-LABlab(15.69, -1.35, 17.39)
CIE-LCHlch(15.69, 17.44, 94.43°)
OKLaboklab(27.27% -0.0047 0.0416)
OKLCHoklch(27.27% 0.042 96.5)
XYZxyz(1.8804, 2.0381, 0.6750)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D270D #0D132D
analogous
#2D170D #2D270D #232D0D
triadic
#2D270D #0D2D27 #270D2D
tetradic
#2D270D #0D2D17 #0D132D #2D0D23
square
#2D270D #0D2D17 #0D132D #2D0D23
split-complementary
#2D270D #0D232D #170D2D
monochromatic
#181507 #181507 #2D270D #5C501B #8C7928

Accessibility & contrast

On white

14.92
#2D270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D270D
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D270D#FFFFFF#000000##FFFFFF
##2D270D1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d270d;
/* rgb */ color: rgb(45, 39, 13);
/* oklch */ color: oklch(27.3% 0.042 96.5);
Tailwind
colors: {
  custom: {
    50: '#67604d',
    500: '#2d270d',
    950: '#000000',
  },
}
SCSS
$custom: #2d270d;
$custom-light: #67604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d270d",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 48.75,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2727,
    "c": 0.04183,
    "h": 96.5
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#2D270D
secondary
#2E3968
accent
#65DF49
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D270D

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

Preview Lab → · Contrast checker → · Palette generator →

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