#CDA271#CDA271

#CDA271 is a light, moderate orange. Relative luminance 0.400; OKLCH L 74.0% C 0.082 H 69.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CDA271
RGBrgb(205, 162, 113)
HSLhsl(32, 48%, 62%)
HSVhsv(32, 45%, 80%)
CMYKcmyk(0%, 21%, 44.9%, 19.6%)
CIE-LABlab(69.48, 9.59, 31.50)
CIE-LCHlch(69.48, 32.92, 73.07°)
OKLaboklab(74.05% 0.0287 0.0773)
OKLCHoklch(74.05% 0.082 69.6)
XYZxyz(41.0794, 40.0144, 21.1794)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA271 #719CCD
analogous
#CD7471 #CDA271 #CACD71
triadic
#CDA271 #71CDA2 #A271CD
tetradic
#CDA271 #71CD74 #719CCD #CD71CA
square
#CDA271 #71CD74 #719CCD #CD71CA
split-complementary
#CDA271 #71CACD #7471CD
monochromatic
#916533 #BD8444 #CDA271 #DDC09E #EDDDCC

Accessibility & contrast

On white

2.33
#CDA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CDA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA271
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA271#FFFFFF#000000##000000
##CDA2711.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cda271;
/* rgb */ color: rgb(205, 162, 113);
/* oklch */ color: oklch(74.0% 0.082 69.6);
Tailwind
colors: {
  custom: {
    50: '#debd9a',
    500: '#cda271',
    950: '#000000',
  },
}
SCSS
$custom: #cda271;
$custom-light: #debd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cda271",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 31.957,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.74048,
    "c": 0.08249,
    "h": 69.6
  },
  "luminance": 0.40012
}

Semantic roles & 50–950 ramp

primary
#CDA271
secondary
#BCCCDE
accent
#6EBB2A
background
#FDFBF9
surface
#FBF6F2
border
#D4D0CC
text
#15120E
muted
#83817E

Preview Lab

Preview with #CDA271

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

Preview Lab → · Contrast checker → · Palette generator →

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