#CFA271#CFA271

#CFA271 is a light, moderate orange. Relative luminance 0.403; OKLCH L 74.3% C 0.084 H 68.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CFA271
RGBrgb(207, 162, 113)
HSLhsl(31, 49%, 63%)
HSVhsv(31, 45%, 81%)
CMYKcmyk(0%, 21.7%, 45.4%, 18.8%)
CIE-LABlab(69.68, 10.41, 31.80)
CIE-LCHlch(69.68, 33.46, 71.88°)
OKLaboklab(74.25% 0.031 0.078)
OKLCHoklch(74.25% 0.084 68.3)
XYZxyz(41.6347, 40.3007, 21.2054)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA271 #719ECF
analogous
#CF7371 #CFA271 #CDCF71
triadic
#CFA271 #71CFA2 #A271CF
tetradic
#CFA271 #71CF73 #719ECF #CF71CD
square
#CFA271 #71CF73 #719ECF #CF71CD
split-complementary
#CFA271 #71CDCF #7371CF
monochromatic
#946532 #C08443 #CFA271 #DEC09F #EEDECC

Accessibility & contrast

On white

2.32
#CFA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CFA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA271
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA271#FFFFFF#000000##000000
##CFA2711.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46D
Deuteranopia (green-blind)
#BCAE72
Tritanopia (blue-blind)
#DD9896
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cfa271;
/* rgb */ color: rgb(207, 162, 113);
/* oklch */ color: oklch(74.3% 0.084 68.3);
Tailwind
colors: {
  custom: {
    50: '#e0bd9a',
    500: '#cfa271',
    950: '#000000',
  },
}
SCSS
$custom: #cfa271;
$custom-light: #e0bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa271",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 31.277,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.74253,
    "c": 0.08395,
    "h": 68.3
  },
  "luminance": 0.40298
}

Semantic roles & 50–950 ramp

primary
#CFA271
secondary
#BDCDDF
accent
#70BD29
background
#FDFBF9
surface
#FBF6F2
border
#D4D0CC
text
#15120E
muted
#83817E

Preview Lab

Preview with #CFA271

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

Preview Lab → · Contrast checker → · Palette generator →

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