#CDA252#CDA252

#CDA252 is a light, moderate orange. Relative luminance 0.394; OKLCH L 73.6% C 0.111 H 81.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CDA252
RGBrgb(205, 162, 82)
HSLhsl(39, 55%, 56%)
HSVhsv(39, 60%, 80%)
CMYKcmyk(0%, 21%, 60%, 19.6%)
CIE-LABlab(69.06, 6.86, 46.92)
CIE-LCHlch(69.06, 47.42, 81.68°)
OKLaboklab(73.59% 0.0171 0.1092)
OKLCHoklch(73.59% 0.111 81.1)
XYZxyz(39.6222, 39.4315, 13.5051)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA252 #527DCD
analogous
#CD6552 #CDA252 #BBCD52
triadic
#CDA252 #52CDA2 #A252CD
tetradic
#CDA252 #52CD65 #527DCD #CD52BB
square
#CDA252 #52CD65 #527DCD #CD52BB
split-complementary
#CDA252 #52BBCD #6552CD
monochromatic
#806025 #AF8433 #CDA252 #DBBC81 #E8D5B1

Accessibility & contrast

On white

2.36
#CDA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CDA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA252
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA252#FFFFFF#000000##000000
##CDA2521.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#BEAD55
Tritanopia (blue-blind)
#DD9590
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cda252;
/* rgb */ color: rgb(205, 162, 82);
/* oklch */ color: oklch(73.6% 0.111 81.1);
Tailwind
colors: {
  custom: {
    50: '#dfbd85',
    500: '#cda252',
    950: '#000000',
  },
}
SCSS
$custom: #cda252;
$custom-light: #dfbd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cda252",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 39.024,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.73586,
    "c": 0.11052,
    "h": 81.1
  },
  "luminance": 0.39429
}

Semantic roles & 50–950 ramp

primary
#CDA252
secondary
#A4B6D7
accent
#7DDE49
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDA252

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

Preview Lab → · Contrast checker → · Palette generator →

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