#CDC53F#CDC53F

#CDC53F is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.150 H 105.9°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CDC53F
RGBrgb(205, 197, 63)
HSLhsl(57, 59%, 53%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3.9%, 69.3%, 19.6%)
CIE-LABlab(78.04, -12.64, 64.77)
CIE-LCHlch(78.04, 66.00, 101.04°)
OKLaboklab(80.63% -0.0412 0.1443)
OKLCHoklch(80.63% 0.15 105.9)
XYZxyz(46.0421, 53.2722, 12.5589)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC53F #3F47CD
analogous
#CD7E3F #CDC53F #8ECD3F
triadic
#CDC53F #3FCDC5 #C53FCD
tetradic
#CDC53F #3FCD7E #3F47CD #CD3F8E
square
#CDC53F #3FCD7E #3F47CD #CD3F8E
split-complementary
#CDC53F #3F8ECD #7E3FCD
monochromatic
#746F1E #A49D2B #CDC53F #DAD470 #E6E2A0

Accessibility & contrast

On white

1.80
#CDC53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC53F
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC53F#FFFFFF#000000##000000
##CDC53F1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#D9C348
Tritanopia (blue-blind)
#DCB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc53f;
/* rgb */ color: rgb(205, 197, 63);
/* oklch */ color: oklch(80.6% 0.150 105.9);
Tailwind
colors: {
  custom: {
    50: '#e0d67c',
    500: '#cdc53f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc53f;
$custom-light: #e0d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc53f",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 56.62,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80631,
    "c": 0.15007,
    "h": 105.9
  },
  "luminance": 0.53271
}

Semantic roles & 50–950 ramp

primary
#CDC53F
secondary
#34387C
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC53F

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

Preview Lab → · Contrast checker → · Palette generator →

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