#2D270A#2D270A

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

Color values

HEX#2D270A
RGBrgb(45, 39, 10)
HSLhsl(50, 64%, 11%)
HSVhsv(50, 78%, 18%)
CMYKcmyk(0%, 13.3%, 77.8%, 82.4%)
CIE-LABlab(15.65, -1.61, 18.67)
CIE-LCHlch(15.65, 18.74, 94.94°)
OKLaboklab(27.23% -0.006 0.0447)
OKLCHoklch(27.23% 0.045 97.6)
XYZxyz(1.8626, 2.0309, 0.5810)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D270A #0A102D
analogous
#2D150A #2D270A #212D0A
triadic
#2D270A #0A2D27 #270A2D
tetradic
#2D270A #0A2D15 #0A102D #2D0A21
square
#2D270A #0A2D15 #0A102D #2D0A21
split-complementary
#2D270A #0A212D #150A2D
monochromatic
#191606 #191606 #2D270A #5F5215 #917E20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D270A#FFFFFF#000000##FFFFFF
##2D270A1.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)
#2C2607
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d270a;
/* rgb */ color: rgb(45, 39, 10);
/* oklch */ color: oklch(27.2% 0.045 97.6);
Tailwind
colors: {
  custom: {
    50: '#67604b',
    500: '#2d270a',
    950: '#000000',
  },
}
SCSS
$custom: #2d270a;
$custom-light: #67604b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d270a",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 10
  },
  "hsl": {
    "h": 49.714,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27229,
    "c": 0.04514,
    "h": 97.6
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#2D270A
secondary
#29346A
accent
#5EE741
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D270A

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

Preview Lab → · Contrast checker → · Palette generator →

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