#CDCF5A#CDCF5A

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

Color values

HEX#CDCF5A
RGBrgb(205, 207, 90)
HSLhsl(61, 55%, 58%)
HSVhsv(61, 57%, 81%)
CMYKcmyk(1%, 0%, 56.5%, 18.8%)
CIE-LABlab(80.93, -15.97, 56.68)
CIE-LCHlch(80.93, 58.89, 105.73°)
OKLaboklab(83.01% -0.0477 0.1311)
OKLCHoklch(83.01% 0.14 110)
XYZxyz(49.3364, 58.3442, 18.3335)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF5A #5C5ACF
analogous
#CF965A #CDCF5A #92CF5A
triadic
#CDCF5A #5ACDCF #CF5ACD
tetradic
#CDCF5A #5ACF96 #5C5ACF #CF5A92
square
#CDCF5A #5ACF96 #5C5ACF #CF5A92
split-complementary
#CDCF5A #5A92CF #965ACF
monochromatic
#868727 #B4B735 #CDCF5A #DBDD89 #EAEBB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCF5A#FFFFFF#000000##000000
##CDCF5A1.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)
#DEC74D
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#DAC3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf5a;
/* rgb */ color: rgb(205, 207, 90);
/* oklch */ color: oklch(83.0% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#dfdd8d',
    500: '#cdcf5a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf5a;
$custom-light: #dfdd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf5a",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 61.026,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83008,
    "c": 0.13952,
    "h": 110
  },
  "luminance": 0.58343
}

Semantic roles & 50–950 ramp

primary
#CDCF5A
secondary
#403F8E
accent
#4ADE4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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