#2D270E#2D270E

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

Color values

HEX#2D270E
RGBrgb(45, 39, 14)
HSLhsl(48, 53%, 12%)
HSVhsv(48, 69%, 18%)
CMYKcmyk(0%, 13.3%, 68.9%, 82.4%)
CIE-LABlab(15.70, -1.25, 16.91)
CIE-LCHlch(15.70, 16.96, 94.22°)
OKLaboklab(27.29% -0.0043 0.0404)
OKLCHoklch(27.29% 0.041 96)
XYZxyz(1.8870, 2.0407, 0.7099)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D270E #0E142D
analogous
#2D180E #2D270E #242D0E
triadic
#2D270E #0E2D27 #270E2D
tetradic
#2D270E #0E2D18 #0E142D #2D0E24
square
#2D270E #0E2D18 #0E142D #2D0E24
split-complementary
#2D270E #0E242D #180E2D
monochromatic
#171407 #171407 #2D270E #5C4F1D #8A782B

Accessibility & contrast

On white

14.91
#2D270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D270E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D270E#FFFFFF#000000##FFFFFF
##2D270E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d270e;
/* rgb */ color: rgb(45, 39, 14);
/* oklch */ color: oklch(27.3% 0.041 96.0);
Tailwind
colors: {
  custom: {
    50: '#67604d',
    500: '#2d270e',
    950: '#000000',
  },
}
SCSS
$custom: #2d270e;
$custom-light: #67604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d270e",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 48.387,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27286,
    "c": 0.04065,
    "h": 96
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#2D270E
secondary
#303A67
accent
#68DC4C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D270E

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

Preview Lab → · Contrast checker → · Palette generator →

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