#CFB271#CFB271

#CFB271 is a light, moderate orange. Relative luminance 0.463; OKLCH L 77.4% C 0.090 H 86.3°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CFB271
RGBrgb(207, 178, 113)
HSLhsl(41, 49%, 63%)
HSVhsv(41, 45%, 81%)
CMYKcmyk(0%, 14%, 45.4%, 18.8%)
CIE-LABlab(73.74, 1.83, 37.00)
CIE-LCHlch(73.74, 37.05, 87.17°)
OKLaboklab(77.44% 0.0058 0.0899)
OKLCHoklch(77.44% 0.09 86.3)
XYZxyz(44.6346, 46.3004, 22.2054)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB271 #718ECF
analogous
#CF8371 #CFB271 #BDCF71
triadic
#CFB271 #71CFB2 #B271CF
tetradic
#CFB271 #71CF83 #718ECF #CF71BD
square
#CFB271 #71CF83 #718ECF #CF71BD
split-complementary
#CFB271 #71BDCF #8371CF
monochromatic
#947632 #C09943 #CFB271 #DECB9F #EEE4CC

Accessibility & contrast

On white

2.05
#CFB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CFB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB271
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB271#FFFFFF#000000##000000
##CFB2711.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B16C
Deuteranopia (green-blind)
#C8B873
Tritanopia (blue-blind)
#DDA8A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb271;
/* rgb */ color: rgb(207, 178, 113);
/* oklch */ color: oklch(77.4% 0.090 86.3);
Tailwind
colors: {
  custom: {
    50: '#dfc89b',
    500: '#cfb271',
    950: '#000000',
  },
}
SCSS
$custom: #cfb271;
$custom-light: #dfc89b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb271",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 41.489,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.77436,
    "c": 0.09009,
    "h": 86.3
  },
  "luminance": 0.46298
}

Semantic roles & 50–950 ramp

primary
#CFB271
secondary
#BDC7DF
accent
#56BD29
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB271

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

Preview Lab → · Contrast checker → · Palette generator →

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