#CDCF4A#CDCF4A

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

Color values

HEX#CDCF4A
RGBrgb(205, 207, 74)
HSLhsl(61, 58%, 55%)
HSVhsv(61, 64%, 81%)
CMYKcmyk(1%, 0%, 64.3%, 18.8%)
CIE-LABlab(80.79, -17.05, 63.31)
CIE-LCHlch(80.79, 65.56, 105.07°)
OKLaboklab(82.86% -0.0524 0.143)
OKLCHoklch(82.86% 0.152 110.1)
XYZxyz(48.7272, 58.1005, 15.1249)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF4A #4C4ACF
analogous
#CF8E4A #CDCF4A #8BCF4A
triadic
#CDCF4A #4ACDCF #CF4ACD
tetradic
#CDCF4A #4ACF8E #4C4ACF #CF4A8B
square
#CDCF4A #4ACF8E #4C4ACF #CF4A8B
split-complementary
#CDCF4A #4A8BCF #8E4ACF
monochromatic
#7C7D21 #ACAE2E #CDCF4A #DADC7A #E8E9AB

Accessibility & contrast

On white

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

On black

12.62
#CDCF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF4A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF4A#FFFFFF#000000##000000
##CDCF4A1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf4a;
/* rgb */ color: rgb(205, 207, 74);
/* oklch */ color: oklch(82.9% 0.152 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd83',
    500: '#cdcf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf4a;
$custom-light: #dfdd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf4a",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 60.902,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82856,
    "c": 0.1523,
    "h": 110.1
  },
  "luminance": 0.58099
}

Semantic roles & 50–950 ramp

primary
#CDCF4A
secondary
#393885
accent
#46E149
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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