#CDCF50#CDCF50

#CDCF50 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.148 H 110.1°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CDCF50
RGBrgb(205, 207, 80)
HSLhsl(61, 57%, 56%)
HSVhsv(61, 61%, 81%)
CMYKcmyk(1%, 0%, 61.4%, 18.8%)
CIE-LABlab(80.84, -16.67, 60.90)
CIE-LCHlch(80.84, 63.14, 105.31°)
OKLaboklab(82.91% -0.0508 0.1388)
OKLCHoklch(82.91% 0.148 110.1)
XYZxyz(48.9391, 58.1852, 16.2408)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF50 #5250CF
analogous
#CF9250 #CDCF50 #8ECF50
triadic
#CDCF50 #50CDCF #CF50CD
tetradic
#CDCF50 #50CF92 #5250CF #CF508E
square
#CDCF50 #50CF92 #5250CF #CF508E
split-complementary
#CDCF50 #508ECF #9250CF
monochromatic
#808123 #AFB131 #CDCF50 #DBDC80 #E8E9B0

Accessibility & contrast

On white

1.66
#CDCF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CDCF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF50
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF50#FFFFFF#000000##000000
##CDCF501.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC740
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#DAC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf50;
/* rgb */ color: rgb(205, 207, 80);
/* oklch */ color: oklch(82.9% 0.148 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd87',
    500: '#cdcf50',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf50;
$custom-light: #dfdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf50",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 60.945,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.14778,
    "h": 110.1
  },
  "luminance": 0.58184
}

Semantic roles & 50–950 ramp

primary
#CDCF50
secondary
#3C3B89
accent
#48E04A
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCF50

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

Preview Lab → · Contrast checker → · Palette generator →

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