#CDC250#CDC250

#CDC250 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.135 H 103.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CDC250
RGBrgb(205, 194, 80)
HSLhsl(55, 56%, 56%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 5.4%, 61%, 19.6%)
CIE-LABlab(77.37, -10.11, 57.15)
CIE-LCHlch(77.37, 58.04, 100.03°)
OKLaboklab(80.14% -0.0322 0.1308)
OKLCHoklch(80.14% 0.135 103.8)
XYZxyz(45.9182, 52.1436, 15.2338)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC250 #505BCD
analogous
#CD8350 #CDC250 #99CD50
triadic
#CDC250 #50CDC2 #C250CD
tetradic
#CDC250 #50CD83 #505BCD #CD5099
square
#CDC250 #50CD83 #505BCD #CD5099
split-complementary
#CDC250 #5099CD #8350CD
monochromatic
#7E7724 #AEA332 #CDC250 #DBD380 #E8E3AF

Accessibility & contrast

On white

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

On black

11.43
#CDC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC250
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC250#FFFFFF#000000##000000
##CDC2501.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#DBB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc250;
/* rgb */ color: rgb(205, 194, 80);
/* oklch */ color: oklch(80.1% 0.135 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd486',
    500: '#cdc250',
    950: '#000000',
  },
}
SCSS
$custom: #cdc250;
$custom-light: #dfd486;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc250",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 54.72,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8014,
    "c": 0.13472,
    "h": 103.8
  },
  "luminance": 0.52142
}

Semantic roles & 50–950 ramp

primary
#CDC250
secondary
#3B4286
accent
#56DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC250

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

Preview Lab → · Contrast checker → · Palette generator →

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