#CDCF5D#CDCF5D

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

Color values

HEX#CDCF5D
RGBrgb(205, 207, 93)
HSLhsl(61, 54%, 59%)
HSVhsv(61, 55%, 81%)
CMYKcmyk(1%, 0%, 55.1%, 18.8%)
CIE-LABlab(80.96, -15.74, 55.37)
CIE-LCHlch(80.96, 57.56, 105.87°)
OKLaboklab(83.04% -0.0467 0.1286)
OKLCHoklch(83.04% 0.137 110)
XYZxyz(49.4667, 58.3963, 19.0196)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF5D #5F5DCF
analogous
#CF985D #CDCF5D #94CF5D
triadic
#CDCF5D #5DCDCF #CF5DCD
tetradic
#CDCF5D #5DCF98 #5F5DCF #CF5D94
square
#CDCF5D #5DCF98 #5F5DCF #CF5D94
split-complementary
#CDCF5D #5D94CF #985DCF
monochromatic
#878929 #B6B837 #CDCF5D #DCDD8C #EAEBBB

Accessibility & contrast

On white

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

On black

12.68
#CDCF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF5D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF5D#FFFFFF#000000##000000
##CDCF5D1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC751
Deuteranopia (green-blind)
#DFCB63
Tritanopia (blue-blind)
#DAC4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf5d;
/* rgb */ color: rgb(205, 207, 93);
/* oklch */ color: oklch(83.0% 0.137 110.0);
Tailwind
colors: {
  custom: {
    50: '#dfdd8f',
    500: '#cdcf5d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf5d;
$custom-light: #dfdd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf5d",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 61.053,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8304,
    "c": 0.13688,
    "h": 110
  },
  "luminance": 0.58395
}

Semantic roles & 50–950 ramp

primary
#CDCF5D
secondary
#424190
accent
#4ADE4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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