#2D270F#2D270F

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

Color values

HEX#2D270F
RGBrgb(45, 39, 15)
HSLhsl(48, 50%, 12%)
HSVhsv(48, 67%, 18%)
CMYKcmyk(0%, 13.3%, 66.7%, 82.4%)
CIE-LABlab(15.71, -1.14, 16.42)
CIE-LCHlch(15.71, 16.46, 93.98°)
OKLaboklab(27.3% -0.0038 0.0392)
OKLCHoklch(27.3% 0.039 95.6)
XYZxyz(1.8940, 2.0435, 0.7465)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D270F #0F152D
analogous
#2D180F #2D270F #242D0F
triadic
#2D270F #0F2D27 #270F2D
tetradic
#2D270F #0F2D18 #0F152D #2D0F24
square
#2D270F #0F2D18 #0F152D #2D0F24
split-complementary
#2D270F #0F242D #180F2D
monochromatic
#171408 #171408 #2D270F #5B4F1E #89772E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D270F#FFFFFF#000000##FFFFFF
##2D270F1.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)
#2B260D
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#312422
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d270f;
/* rgb */ color: rgb(45, 39, 15);
/* oklch */ color: oklch(27.3% 0.039 95.6);
Tailwind
colors: {
  custom: {
    50: '#67604e',
    500: '#2d270f',
    950: '#000000',
  },
}
SCSS
$custom: #2d270f;
$custom-light: #67604e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d270f",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 48,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27302,
    "c": 0.03943,
    "h": 95.6
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#2D270F
secondary
#313C66
accent
#6ADA4E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D270F

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

Preview Lab → · Contrast checker → · Palette generator →

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