#CDC150#CDC150

#CDC150 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.134 H 103.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CDC150
RGBrgb(205, 193, 80)
HSLhsl(54, 56%, 56%)
HSVhsv(54, 61%, 80%)
CMYKcmyk(0%, 5.9%, 61%, 19.6%)
CIE-LABlab(77.10, -9.60, 56.86)
CIE-LCHlch(77.10, 57.66, 99.58°)
OKLaboklab(79.93% -0.0307 0.1302)
OKLCHoklch(79.93% 0.134 103.3)
XYZxyz(45.6964, 51.7000, 15.1599)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC150 #505CCD
analogous
#CD8250 #CDC150 #9ACD50
triadic
#CDC150 #50CDC1 #C150CD
tetradic
#CDC150 #50CD82 #505CCD #CD509A
square
#CDC150 #50CD82 #505CCD #CD509A
split-complementary
#CDC150 #509ACD #8250CD
monochromatic
#7E7624 #AEA232 #CDC150 #DBD280 #E8E3AF

Accessibility & contrast

On white

1.85
#CDC150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CDC150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC150
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC150#FFFFFF#000000##000000
##CDC1501.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#DBB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc150;
/* rgb */ color: rgb(205, 193, 80);
/* oklch */ color: oklch(79.9% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#dfd386',
    500: '#cdc150',
    950: '#000000',
  },
}
SCSS
$custom: #cdc150;
$custom-light: #dfd386;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc150",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 54.24,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79929,
    "c": 0.13379,
    "h": 103.3
  },
  "luminance": 0.51698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC150

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

Preview Lab → · Contrast checker → · Palette generator →

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