#CDCF47#CDCF47

#CDCF47 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#CDCF47
RGBrgb(205, 207, 71)
HSLhsl(61, 59%, 55%)
HSVhsv(61, 66%, 81%)
CMYKcmyk(1%, 0%, 65.7%, 18.8%)
CIE-LABlab(80.77, -17.22, 64.47)
CIE-LCHlch(80.77, 66.73, 104.96°)
OKLaboklab(82.83% -0.0532 0.145)
OKLCHoklch(82.83% 0.154 110.2)
XYZxyz(48.6285, 58.0610, 14.6053)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF47 #4947CF
analogous
#CF8D47 #CDCF47 #89CF47
triadic
#CDCF47 #47CDCF #CF47CD
tetradic
#CDCF47 #47CF8D #4947CF #CF4789
square
#CDCF47 #47CF8D #4947CF #CF4789
split-complementary
#CDCF47 #4789CF #8D47CF
monochromatic
#7A7B20 #AAAC2D #CDCF47 #DADC78 #E7E8A8

Accessibility & contrast

On white

1.67
#CDCF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCF47#FFFFFF#000000##000000
##CDCF471.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC634
Deuteranopia (green-blind)
#E0CA50
Tritanopia (blue-blind)
#DBC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf47;
/* rgb */ color: rgb(205, 207, 71);
/* oklch */ color: oklch(82.8% 0.154 110.2);
Tailwind
colors: {
  custom: {
    50: '#dfdd81',
    500: '#cdcf47',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf47;
$custom-light: #dfdd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf47",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 60.882,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.15444,
    "h": 110.2
  },
  "luminance": 0.5806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCF47

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

Preview Lab → · Contrast checker → · Palette generator →

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