#CDC93F#CDC93F

#CDC93F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.154 H 107.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CDC93F
RGBrgb(205, 201, 63)
HSLhsl(58, 59%, 53%)
HSVhsv(58, 69%, 80%)
CMYKcmyk(0%, 2%, 69.3%, 19.6%)
CIE-LABlab(79.11, -14.66, 65.83)
CIE-LCHlch(79.11, 67.45, 102.55°)
OKLaboklab(81.48% -0.0468 0.1466)
OKLCHoklch(81.48% 0.154 107.7)
XYZxyz(46.9624, 55.1128, 12.8657)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC93F #3F43CD
analogous
#CD823F #CDC93F #8ACD3F
triadic
#CDC93F #3FCDC9 #C93FCD
tetradic
#CDC93F #3FCD82 #3F43CD #CD3F8A
square
#CDC93F #3FCD82 #3F43CD #CD3F8A
split-complementary
#CDC93F #3F8ACD #823FCD
monochromatic
#74711E #A4A12B #CDC93F #DAD770 #E6E4A0

Accessibility & contrast

On white

1.75
#CDC93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CDC93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC93F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC93F#FFFFFF#000000##000000
##CDC93F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC129
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#DCBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc93f;
/* rgb */ color: rgb(205, 201, 63);
/* oklch */ color: oklch(81.5% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0d97d',
    500: '#cdc93f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc93f;
$custom-light: #e0d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc93f",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 58.31,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81484,
    "c": 0.15385,
    "h": 107.7
  },
  "luminance": 0.55111
}

Semantic roles & 50–950 ramp

primary
#CDC93F
secondary
#34367C
accent
#4AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC93F

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

Preview Lab → · Contrast checker → · Palette generator →

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