#CDCF4D#CDCF4D

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

Color values

HEX#CDCF4D
RGBrgb(205, 207, 77)
HSLhsl(61, 58%, 56%)
HSVhsv(61, 63%, 81%)
CMYKcmyk(1%, 0%, 62.8%, 18.8%)
CIE-LABlab(80.82, -16.86, 62.12)
CIE-LCHlch(80.82, 64.37, 105.19°)
OKLaboklab(82.88% -0.0516 0.1409)
OKLCHoklch(82.88% 0.15 110.1)
XYZxyz(48.8307, 58.1419, 15.6700)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF4D #4F4DCF
analogous
#CF904D #CDCF4D #8CCF4D
triadic
#CDCF4D #4DCDCF #CF4DCD
tetradic
#CDCF4D #4DCF90 #4F4DCF #CF4D8C
square
#CDCF4D #4DCF90 #4F4DCF #CF4D8C
split-complementary
#CDCF4D #4D8CCF #904DCF
monochromatic
#7E7F22 #AEAF2F #CDCF4D #DBDC7D #E8E9AD

Accessibility & contrast

On white

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

On black

12.63
#CDCF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF4D
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF4D#FFFFFF#000000##000000
##CDCF4D1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC63C
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#DBC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf4d;
/* rgb */ color: rgb(205, 207, 77);
/* oklch */ color: oklch(82.9% 0.150 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd85',
    500: '#cdcf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf4d;
$custom-light: #dfdd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf4d",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 60.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82882,
    "c": 0.15008,
    "h": 110.1
  },
  "luminance": 0.58141
}

Semantic roles & 50–950 ramp

primary
#CDCF4D
secondary
#3B3987
accent
#47E149
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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