#CDA04F#CDA04F

#CDA04F is a light, moderate orange. Relative luminance 0.387; OKLCH L 73.2% C 0.112 H 80.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CDA04F
RGBrgb(205, 160, 79)
HSLhsl(39, 56%, 56%)
HSVhsv(39, 61%, 80%)
CMYKcmyk(0%, 22%, 61.5%, 19.6%)
CIE-LABlab(68.52, 7.73, 47.76)
CIE-LCHlch(68.52, 48.38, 80.81°)
OKLaboklab(73.15% 0.0192 0.1106)
OKLCHoklch(73.15% 0.112 80.1)
XYZxyz(39.1610, 38.6878, 12.8005)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA04F #4F7CCD
analogous
#CD614F #CDA04F #BBCD4F
triadic
#CDA04F #4FCDA0 #A04FCD
tetradic
#CDA04F #4FCD61 #4F7CCD #CD4FBB
square
#CDA04F #4FCD61 #4F7CCD #CD4FBB
split-complementary
#CDA04F #4FBBCD #614FCD
monochromatic
#7E5E24 #AE8131 #CDA04F #DBBA7F #E8D3AE

Accessibility & contrast

On white

2.40
#CDA04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CDA04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA04F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA04F#FFFFFF#000000##000000
##CDA04F1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A147
Deuteranopia (green-blind)
#BDAC52
Tritanopia (blue-blind)
#DD938E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cda04f;
/* rgb */ color: rgb(205, 160, 79);
/* oklch */ color: oklch(73.2% 0.112 80.1);
Tailwind
colors: {
  custom: {
    50: '#e0bb83',
    500: '#cda04f',
    950: '#000000',
  },
}
SCSS
$custom: #cda04f;
$custom-light: #e0bb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cda04f",
  "rgb": {
    "r": 205,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 38.571,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.73153,
    "c": 0.11229,
    "h": 80.1
  },
  "luminance": 0.38685
}

Semantic roles & 50–950 ramp

primary
#CDA04F
secondary
#A2B4D6
accent
#7EDF49
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16110B
muted
#84807C

Preview Lab

Preview with #CDA04F

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

Preview Lab → · Contrast checker → · Palette generator →

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