#CDCF48#CDCF48

#CDCF48 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.8% C 0.154 H 110.2°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CDCF48
RGBrgb(205, 207, 72)
HSLhsl(61, 58%, 55%)
HSVhsv(61, 65%, 81%)
CMYKcmyk(1%, 0%, 65.2%, 18.8%)
CIE-LABlab(80.78, -17.16, 64.09)
CIE-LCHlch(80.78, 66.34, 104.99°)
OKLaboklab(82.84% -0.053 0.1443)
OKLCHoklch(82.84% 0.154 110.2)
XYZxyz(48.6609, 58.0740, 14.7757)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF48 #4A48CF
analogous
#CF8E48 #CDCF48 #8ACF48
triadic
#CDCF48 #48CDCF #CF48CD
tetradic
#CDCF48 #48CF8E #4A48CF #CF488A
square
#CDCF48 #48CF8E #4A48CF #CF488A
split-complementary
#CDCF48 #488ACF #8E48CF
monochromatic
#7B7C21 #ABAD2D #CDCF48 #DADC78 #E7E8A9

Accessibility & contrast

On white

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

On black

12.61
#CDCF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF48
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF48#FFFFFF#000000##000000
##CDCF481.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC635
Deuteranopia (green-blind)
#E0CA51
Tritanopia (blue-blind)
#DBC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf48;
/* rgb */ color: rgb(205, 207, 72);
/* oklch */ color: oklch(82.8% 0.154 110.2);
Tailwind
colors: {
  custom: {
    50: '#dfdd82',
    500: '#cdcf48',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf48;
$custom-light: #dfdd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf48",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 60.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8284,
    "c": 0.15374,
    "h": 110.2
  },
  "luminance": 0.58073
}

Semantic roles & 50–950 ramp

primary
#CDCF48
secondary
#383784
accent
#46E248
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCF48

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

Preview Lab → · Contrast checker → · Palette generator →

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