#CDCF5B#CDCF5B

#CDCF5B is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.139 H 110.0°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CDCF5B
RGBrgb(205, 207, 91)
HSLhsl(61, 55%, 58%)
HSVhsv(61, 56%, 81%)
CMYKcmyk(1%, 0%, 56%, 18.8%)
CIE-LABlab(80.94, -15.89, 56.25)
CIE-LCHlch(80.94, 58.45, 105.78°)
OKLaboklab(83.02% -0.0474 0.1303)
OKLCHoklch(83.02% 0.139 110)
XYZxyz(49.3793, 58.3613, 18.5592)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF5B #5D5BCF
analogous
#CF975B #CDCF5B #93CF5B
triadic
#CDCF5B #5BCDCF #CF5BCD
tetradic
#CDCF5B #5BCF97 #5D5BCF #CF5B93
square
#CDCF5B #5BCF97 #5D5BCF #CF5B93
split-complementary
#CDCF5B #5B93CF #975BCF
monochromatic
#868828 #B5B736 #CDCF5B #DBDD8A #EAEBBA

Accessibility & contrast

On white

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

On black

12.67
#CDCF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF5B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF5B#FFFFFF#000000##000000
##CDCF5B1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#DAC3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf5b;
/* rgb */ color: rgb(205, 207, 91);
/* oklch */ color: oklch(83.0% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#dfdd8d',
    500: '#cdcf5b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf5b;
$custom-light: #dfdd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf5b",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 61.034,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83018,
    "c": 0.13865,
    "h": 110
  },
  "luminance": 0.5836
}

Semantic roles & 50–950 ramp

primary
#CDCF5B
secondary
#41408F
accent
#4ADE4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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