#CDC750#CDC750

#CDC750 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.140 H 106.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CDC750
RGBrgb(205, 199, 80)
HSLhsl(57, 56%, 56%)
HSVhsv(57, 61%, 80%)
CMYKcmyk(0%, 2.9%, 61%, 19.6%)
CIE-LABlab(78.70, -12.65, 58.60)
CIE-LCHlch(78.70, 59.95, 102.19°)
OKLaboklab(81.2% -0.0394 0.1339)
OKLCHoklch(81.2% 0.14 106.4)
XYZxyz(47.0498, 54.4067, 15.6110)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC750 #5056CD
analogous
#CD8850 #CDC750 #94CD50
triadic
#CDC750 #50CDC7 #C750CD
tetradic
#CDC750 #50CD88 #5056CD #CD5094
square
#CDC750 #50CD88 #5056CD #CD5094
split-complementary
#CDC750 #5094CD #8850CD
monochromatic
#7E7A24 #AEA832 #CDC750 #DBD680 #E8E5AF

Accessibility & contrast

On white

1.77
#CDC750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CDC750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC750
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC750#FFFFFF#000000##000000
##CDC7501.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#DBBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc750;
/* rgb */ color: rgb(205, 199, 80);
/* oklch */ color: oklch(81.2% 0.140 106.4);
Tailwind
colors: {
  custom: {
    50: '#dfd786',
    500: '#cdc750',
    950: '#000000',
  },
}
SCSS
$custom: #cdc750;
$custom-light: #dfd786;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc750",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 80
  },
  "hsl": {
    "h": 57.12,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.812,
    "c": 0.13957,
    "h": 106.4
  },
  "luminance": 0.54405
}

Semantic roles & 50–950 ramp

primary
#CDC750
secondary
#3B3F86
accent
#50DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC750

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

Preview Lab → · Contrast checker → · Palette generator →

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