#CCB271#CCB271

#CCB271 is a light, moderate orange. Relative luminance 0.459; OKLCH L 77.2% C 0.089 H 88.5°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CCB271
RGBrgb(204, 178, 113)
HSLhsl(43, 47%, 62%)
HSVhsv(43, 45%, 80%)
CMYKcmyk(0%, 12.7%, 44.6%, 20%)
CIE-LABlab(73.46, 0.60, 36.59)
CIE-LCHlch(73.46, 36.60, 89.06°)
OKLaboklab(77.15% 0.0024 0.089)
OKLCHoklch(77.15% 0.089 88.5)
XYZxyz(43.8042, 45.8723, 22.1665)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB271 #718BCC
analogous
#CC8571 #CCB271 #B9CC71
triadic
#CCB271 #71CCB2 #B271CC
tetradic
#CCB271 #71CC85 #718BCC #CC71B9
square
#CCB271 #71CC85 #718BCC #CC71B9
split-complementary
#CCB271 #71B9CC #8571CC
monochromatic
#8F7533 #BC9A44 #CCB271 #DCCA9E #ECE3CB

Accessibility & contrast

On white

2.06
#CCB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CCB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB271
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB271#FFFFFF#000000##000000
##CCB2711.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B06C
Deuteranopia (green-blind)
#C6B773
Tritanopia (blue-blind)
#D9A8A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb271;
/* rgb */ color: rgb(204, 178, 113);
/* oklch */ color: oklch(77.2% 0.089 88.5);
Tailwind
colors: {
  custom: {
    50: '#ddc89b',
    500: '#ccb271',
    950: '#000000',
  },
}
SCSS
$custom: #ccb271;
$custom-light: #ddc89b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb271",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 42.857,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.77153,
    "c": 0.08904,
    "h": 88.5
  },
  "luminance": 0.4587
}

Semantic roles & 50–950 ramp

primary
#CCB271
secondary
#BCC5DD
accent
#54BA2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB271

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

Preview Lab → · Contrast checker → · Palette generator →

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