#C2871F#C2871F

#C2871F is a light, vivid orange. Relative luminance 0.289; OKLCH L 66.6% C 0.131 H 75.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#C2871F
RGBrgb(194, 135, 31)
HSLhsl(38, 72%, 44%)
HSVhsv(38, 84%, 76%)
CMYKcmyk(0%, 30.4%, 84%, 23.9%)
CIE-LABlab(60.69, 14.20, 59.51)
CIE-LCHlch(60.69, 61.18, 76.58°)
OKLaboklab(66.63% 0.0328 0.127)
OKLCHoklch(66.63% 0.131 75.5)
XYZxyz(31.1618, 28.8989, 5.2329)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2871F #1F5AC2
analogous
#C2361F #C2871F #ACC21F
triadic
#C2871F #1FC287 #871FC2
tetradic
#C2871F #1FC236 #1F5AC2 #C21FAC
square
#C2871F #1FC236 #1F5AC2 #C21FAC
split-complementary
#C2871F #1FACC2 #361FC2
monochromatic
#583E0E #8D6217 #C2871F #E0A53E #E9BE73

Accessibility & contrast

On white

3.10
#C2871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#C2871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C2871F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2871F#FFFFFF#000000##000000
##C2871F1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A02
Deuteranopia (green-blind)
#AA9824
Tritanopia (blue-blind)
#D47774
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c2871f;
/* rgb */ color: rgb(194, 135, 31);
/* oklch */ color: oklch(66.6% 0.131 75.5);
Tailwind
colors: {
  custom: {
    50: '#daa965',
    500: '#c2871f',
    950: '#000000',
  },
}
SCSS
$custom: #c2871f;
$custom-light: #daa965;
$custom-dark: #000000;
JSON
{
  "hex": "#c2871f",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 38.282,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66634,
    "c": 0.13119,
    "h": 75.5
  },
  "luminance": 0.28896
}

Semantic roles & 50–950 ramp

primary
#C2871F
secondary
#6D91CF
accent
#7BEF39
background
#FEFAF6
surface
#FCF4EB
border
#D5CEC6
text
#160F06
muted
#847F7A

Preview Lab

Preview with #C2871F

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

Preview Lab → · Contrast checker → · Palette generator →

#C2871F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva