#CDA251#CDA251

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

Color values

HEX#CDA251
RGBrgb(205, 162, 81)
HSLhsl(39, 55%, 56%)
HSVhsv(39, 60%, 80%)
CMYKcmyk(0%, 21%, 60.5%, 19.6%)
CIE-LABlab(69.05, 6.79, 47.39)
CIE-LCHlch(69.05, 47.88, 81.85°)
OKLaboklab(73.57% 0.0167 0.1101)
OKLCHoklch(73.57% 0.111 81.4)
XYZxyz(39.5844, 39.4164, 13.3062)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA251 #517CCD
analogous
#CD6451 #CDA251 #BACD51
triadic
#CDA251 #51CDA2 #A251CD
tetradic
#CDA251 #51CD64 #517CCD #CD51BA
square
#CDA251 #51CD64 #517CCD #CD51BA
split-complementary
#CDA251 #51BACD #6451CD
monochromatic
#7F6025 #AF8332 #CDA251 #DBBB81 #E8D5B0

Accessibility & contrast

On white

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

On black

8.88
#CDA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA251
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA251#FFFFFF#000000##000000
##CDA2511.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A249
Deuteranopia (green-blind)
#BEAD54
Tritanopia (blue-blind)
#DD9590
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cda251;
/* rgb */ color: rgb(205, 162, 81);
/* oklch */ color: oklch(73.6% 0.111 81.4);
Tailwind
colors: {
  custom: {
    50: '#dfbd84',
    500: '#cda251',
    950: '#000000',
  },
}
SCSS
$custom: #cda251;
$custom-light: #dfbd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cda251",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 39.194,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.73574,
    "c": 0.11135,
    "h": 81.4
  },
  "luminance": 0.39414
}

Semantic roles & 50–950 ramp

primary
#CDA251
secondary
#A3B5D7
accent
#7DDF49
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDA251

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

Preview Lab → · Contrast checker → · Palette generator →

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