#CDA54F#CDA54F

#CDA54F is a light, moderate orange. Relative luminance 0.405; OKLCH L 74.1% C 0.114 H 84.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CDA54F
RGBrgb(205, 165, 79)
HSLhsl(41, 56%, 56%)
HSVhsv(41, 61%, 80%)
CMYKcmyk(0%, 19.5%, 61.5%, 19.6%)
CIE-LABlab(69.79, 5.04, 49.20)
CIE-LCHlch(69.79, 49.45, 84.15°)
OKLaboklab(74.15% 0.0114 0.1137)
OKLCHoklch(74.15% 0.114 84.3)
XYZxyz(40.0453, 40.4564, 13.0953)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA54F #4F77CD
analogous
#CD664F #CDA54F #B6CD4F
triadic
#CDA54F #4FCDA5 #A54FCD
tetradic
#CDA54F #4FCD66 #4F77CD #CD4FB6
square
#CDA54F #4FCD66 #4F77CD #CD4FB6
split-complementary
#CDA54F #4FB6CD #664FCD
monochromatic
#7E6124 #AE8631 #CDA54F #DBBD7F #E8D6AE

Accessibility & contrast

On white

2.31
#CDA54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#CDA54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA54F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA54F#FFFFFF#000000##000000
##CDA54F1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A446
Deuteranopia (green-blind)
#C1AF52
Tritanopia (blue-blind)
#DD9892
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cda54f;
/* rgb */ color: rgb(205, 165, 79);
/* oklch */ color: oklch(74.1% 0.114 84.3);
Tailwind
colors: {
  custom: {
    50: '#dfbf83',
    500: '#cda54f',
    950: '#000000',
  },
}
SCSS
$custom: #cda54f;
$custom-light: #dfbf83;
$custom-dark: #000000;
JSON
{
  "hex": "#cda54f",
  "rgb": {
    "r": 205,
    "g": 165,
    "b": 79
  },
  "hsl": {
    "h": 40.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.74149,
    "c": 0.11428,
    "h": 84.3
  },
  "luminance": 0.40454
}

Semantic roles & 50–950 ramp

primary
#CDA54F
secondary
#A2B2D6
accent
#78DF49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDA54F

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

Preview Lab → · Contrast checker → · Palette generator →

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