#2C280F#2C280F

#2C280F is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.040 H 100.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2C280F
RGBrgb(44, 40, 15)
HSLhsl(52, 49%, 12%)
HSVhsv(52, 66%, 17%)
CMYKcmyk(0%, 9.1%, 65.9%, 82.7%)
CIE-LABlab(15.94, -2.36, 16.68)
CIE-LCHlch(15.94, 16.84, 98.06°)
OKLaboklab(27.45% -0.0073 0.0398)
OKLCHoklch(27.45% 0.04 100.4)
XYZxyz(1.8838, 2.0876, 0.7556)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C280F #0F132C
analogous
#2C1A0F #2C280F #222C0F
triadic
#2C280F #0F2C28 #280F2C
tetradic
#2C280F #0F2C1A #0F132C #2C0F22
square
#2C280F #0F2C1A #0F132C #2C0F22
split-complementary
#2C280F #0F222C #1A0F2C
monochromatic
#171508 #171508 #2C280F #5A511F #877B2E

Accessibility & contrast

On white

14.81
#2C280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2C280F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C280F
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C280F#FFFFFF#000000##FFFFFF
##2C280F1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270D
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#302522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c280f;
/* rgb */ color: rgb(44, 40, 15);
/* oklch */ color: oklch(27.5% 0.040 100.4);
Tailwind
colors: {
  custom: {
    50: '#66614e',
    500: '#2c280f',
    950: '#000000',
  },
}
SCSS
$custom: #2c280f;
$custom-light: #66614e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c280f",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 51.724,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27454,
    "c": 0.04044,
    "h": 100.4
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#2C280F
secondary
#313965
accent
#62D94F
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2C280F

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

Preview Lab → · Contrast checker → · Palette generator →

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