#CDA538#CDA538

#CDA538 is a light, vivid orange. Relative luminance 0.402; OKLCH L 73.9% C 0.131 H 88.0°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CDA538
RGBrgb(205, 165, 56)
HSLhsl(44, 60%, 51%)
HSVhsv(44, 73%, 80%)
CMYKcmyk(0%, 19.5%, 72.7%, 19.6%)
CIE-LABlab(69.60, 3.70, 59.11)
CIE-LCHlch(69.60, 59.23, 86.42°)
OKLaboklab(73.93% 0.0046 0.1311)
OKLCHoklch(73.93% 0.131 88)
XYZxyz(39.3481, 40.1775, 9.4232)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA538 #3860CD
analogous
#CD5A38 #CDA538 #AACD38
triadic
#CDA538 #38CDA5 #A538CD
tetradic
#CDA538 #38CD5A #3860CD #CD38AA
square
#CDA538 #38CD5A #3860CD #CD38AA
split-complementary
#CDA538 #38AACD #5A38CD
monochromatic
#6F591C #A08028 #CDA538 #D9BB69 #E6D19A

Accessibility & contrast

On white

2.32
#CDA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CDA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA538
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA538#FFFFFF#000000##000000
##CDA5381.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#DE978F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cda538;
/* rgb */ color: rgb(205, 165, 56);
/* oklch */ color: oklch(73.9% 0.131 88.0);
Tailwind
colors: {
  custom: {
    50: '#e0bf75',
    500: '#cda538',
    950: '#000000',
  },
}
SCSS
$custom: #cda538;
$custom-light: #e0bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#cda538",
  "rgb": {
    "r": 205,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 43.893,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7393,
    "c": 0.13115,
    "h": 88
  },
  "luminance": 0.40175
}

Semantic roles & 50–950 ramp

primary
#CDA538
secondary
#8FA1D1
accent
#6FE345
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA538

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

Preview Lab → · Contrast checker → · Palette generator →

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