#CDB271#CDB271

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

Color values

HEX#CDB271
RGBrgb(205, 178, 113)
HSLhsl(42, 48%, 62%)
HSVhsv(42, 45%, 80%)
CMYKcmyk(0%, 13.2%, 44.9%, 19.6%)
CIE-LABlab(73.55, 1.01, 36.73)
CIE-LCHlch(73.55, 36.74, 88.42°)
OKLaboklab(77.25% 0.0035 0.0893)
OKLCHoklch(77.25% 0.089 87.7)
XYZxyz(44.0792, 46.0141, 22.1793)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB271 #718CCD
analogous
#CD8471 #CDB271 #BACD71
triadic
#CDB271 #71CDB2 #B271CD
tetradic
#CDB271 #71CD84 #718CCD #CD71BA
square
#CDB271 #71CD84 #718CCD #CD71BA
split-complementary
#CDB271 #71BACD #8471CD
monochromatic
#917533 #BD9944 #CDB271 #DDCB9E #EDE3CC

Accessibility & contrast

On white

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

On black

10.20
#CDB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB271
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB271#FFFFFF#000000##000000
##CDB2711.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B06C
Deuteranopia (green-blind)
#C7B873
Tritanopia (blue-blind)
#DAA8A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb271;
/* rgb */ color: rgb(205, 178, 113);
/* oklch */ color: oklch(77.2% 0.089 87.7);
Tailwind
colors: {
  custom: {
    50: '#dec89b',
    500: '#cdb271',
    950: '#000000',
  },
}
SCSS
$custom: #cdb271;
$custom-light: #dec89b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb271",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 42.391,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.77247,
    "c": 0.08937,
    "h": 87.7
  },
  "luminance": 0.46012
}

Semantic roles & 50–950 ramp

primary
#CDB271
secondary
#BCC6DE
accent
#55BB2A
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDB271

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

Preview Lab → · Contrast checker → · Palette generator →

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