#CDC23F#CDC23F

#CDC23F is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.147 H 104.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CDC23F
RGBrgb(205, 194, 63)
HSLhsl(55, 59%, 53%)
HSVhsv(55, 69%, 80%)
CMYKcmyk(0%, 5.4%, 69.3%, 19.6%)
CIE-LABlab(77.23, -11.12, 63.98)
CIE-LCHlch(77.23, 64.94, 99.86°)
OKLaboklab(79.99% -0.0369 0.1426)
OKLCHoklch(79.99% 0.147 104.5)
XYZxyz(45.3677, 51.9233, 12.3341)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC23F #3F4ACD
analogous
#CD7B3F #CDC23F #91CD3F
triadic
#CDC23F #3FCDC2 #C23FCD
tetradic
#CDC23F #3FCD7B #3F4ACD #CD3F91
square
#CDC23F #3FCD7B #3F4ACD #CD3F91
split-complementary
#CDC23F #3F91CD #7B3FCD
monochromatic
#746D1E #A49B2B #CDC23F #DAD170 #E6E1A0

Accessibility & contrast

On white

1.84
#CDC23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CDC23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC23F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC23F#FFFFFF#000000##000000
##CDC23F1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#D7C148
Tritanopia (blue-blind)
#DCB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc23f;
/* rgb */ color: rgb(205, 194, 63);
/* oklch */ color: oklch(80.0% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#e0d47c',
    500: '#cdc23f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc23f;
$custom-light: #e0d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc23f",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 63
  },
  "hsl": {
    "h": 55.352,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79994,
    "c": 0.14732,
    "h": 104.5
  },
  "luminance": 0.51922
}

Semantic roles & 50–950 ramp

primary
#CDC23F
secondary
#343A7C
accent
#52E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC23F

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

Preview Lab → · Contrast checker → · Palette generator →

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