#2C270F#2C270F

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

Color values

HEX#2C270F
RGBrgb(44, 39, 15)
HSLhsl(50, 49%, 12%)
HSVhsv(50, 66%, 17%)
CMYKcmyk(0%, 11.4%, 65.9%, 82.7%)
CIE-LABlab(15.60, -1.69, 16.24)
CIE-LCHlch(15.60, 16.33, 95.93°)
OKLaboklab(27.18% -0.0053 0.0389)
OKLCHoklch(27.18% 0.039 97.8)
XYZxyz(1.8505, 2.0211, 0.7445)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C270F #0F142C
analogous
#2C190F #2C270F #232C0F
triadic
#2C270F #0F2C27 #270F2C
tetradic
#2C270F #0F2C19 #0F142C #2C0F23
square
#2C270F #0F2C19 #0F142C #2C0F23
split-complementary
#2C270F #0F232C #190F2C
monochromatic
#171408 #171408 #2C270F #5A4F1F #87782E

Accessibility & contrast

On white

14.96
#2C270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2C270F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C270F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C270F#FFFFFF#000000##FFFFFF
##2C270F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260D
Deuteranopia (green-blind)
#2C2810
Tritanopia (blue-blind)
#302421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c270f;
/* rgb */ color: rgb(44, 39, 15);
/* oklch */ color: oklch(27.2% 0.039 97.8);
Tailwind
colors: {
  custom: {
    50: '#66604e',
    500: '#2c270f',
    950: '#000000',
  },
}
SCSS
$custom: #2c270f;
$custom-light: #66604e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c270f",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 49.655,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27182,
    "c": 0.03926,
    "h": 97.8
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#2C270F
secondary
#313A65
accent
#67D94F
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2C270F

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

Preview Lab → · Contrast checker → · Palette generator →

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