#CDA151#CDA151

#CDA151 is a light, moderate orange. Relative luminance 0.391; OKLCH L 73.4% C 0.111 H 80.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CDA151
RGBrgb(205, 161, 81)
HSLhsl(39, 55%, 56%)
HSVhsv(39, 60%, 80%)
CMYKcmyk(0%, 21.5%, 60.5%, 19.6%)
CIE-LABlab(68.80, 7.33, 47.10)
CIE-LCHlch(68.80, 47.67, 81.16°)
OKLaboklab(73.38% 0.0183 0.1095)
OKLCHoklch(73.38% 0.111 80.5)
XYZxyz(39.4090, 39.0655, 13.2477)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA151 #517DCD
analogous
#CD6351 #CDA151 #BBCD51
triadic
#CDA151 #51CDA1 #A151CD
tetradic
#CDA151 #51CD63 #517DCD #CD51BB
square
#CDA151 #51CD63 #517DCD #CD51BB
split-complementary
#CDA151 #51BBCD #6351CD
monochromatic
#7F5F25 #AF8232 #CDA151 #DBBB81 #E8D4B0

Accessibility & contrast

On white

2.38
#CDA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CDA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA151
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA151#FFFFFF#000000##000000
##CDA1511.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#BEAC54
Tritanopia (blue-blind)
#DD948F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cda151;
/* rgb */ color: rgb(205, 161, 81);
/* oklch */ color: oklch(73.4% 0.111 80.5);
Tailwind
colors: {
  custom: {
    50: '#dfbc84',
    500: '#cda151',
    950: '#000000',
  },
}
SCSS
$custom: #cda151;
$custom-light: #dfbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cda151",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 38.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.73375,
    "c": 0.11099,
    "h": 80.5
  },
  "luminance": 0.39063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDA151

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

Preview Lab → · Contrast checker → · Palette generator →

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