#CDCF5F#CDCF5F

#CDCF5F is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.1% C 0.135 H 109.9°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CDCF5F
RGBrgb(205, 207, 95)
HSLhsl(61, 54%, 59%)
HSVhsv(61, 54%, 81%)
CMYKcmyk(1%, 0%, 54.1%, 18.8%)
CIE-LABlab(80.98, -15.58, 54.49)
CIE-LCHlch(80.98, 56.67, 105.96°)
OKLaboklab(83.06% -0.0461 0.127)
OKLCHoklch(83.06% 0.135 109.9)
XYZxyz(49.5565, 58.4322, 19.4923)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF5F #615FCF
analogous
#CF995F #CDCF5F #95CF5F
triadic
#CDCF5F #5FCDCF #CF5FCD
tetradic
#CDCF5F #5FCF99 #615FCF #CF5F95
square
#CDCF5F #5FCF99 #615FCF #CF5F95
split-complementary
#CDCF5F #5F95CF #995FCF
monochromatic
#888A29 #B7B938 #CDCF5F #DCDD8E #EAEBBD

Accessibility & contrast

On white

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

On black

12.69
#CDCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF5F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF5F#FFFFFF#000000##000000
##CDCF5F1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf5f;
/* rgb */ color: rgb(205, 207, 95);
/* oklch */ color: oklch(83.1% 0.135 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdd90',
    500: '#cdcf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf5f;
$custom-light: #dfdd90;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf5f",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 61.071,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83062,
    "c": 0.13508,
    "h": 109.9
  },
  "luminance": 0.58431
}

Semantic roles & 50–950 ramp

primary
#CDCF5F
secondary
#434191
accent
#4BDD4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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