#CDCF49#CDCF49

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

Color values

HEX#CDCF49
RGBrgb(205, 207, 73)
HSLhsl(61, 58%, 55%)
HSVhsv(61, 65%, 81%)
CMYKcmyk(1%, 0%, 64.7%, 18.8%)
CIE-LABlab(80.79, -17.10, 63.70)
CIE-LCHlch(80.79, 65.95, 105.03°)
OKLaboklab(82.85% -0.0527 0.1437)
OKLCHoklch(82.85% 0.153 110.1)
XYZxyz(48.6938, 58.0871, 14.9489)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF49 #4B49CF
analogous
#CF8E49 #CDCF49 #8ACF49
triadic
#CDCF49 #49CDCF #CF49CD
tetradic
#CDCF49 #49CF8E #4B49CF #CF498A
square
#CDCF49 #49CF8E #4B49CF #CF498A
split-complementary
#CDCF49 #498ACF #8E49CF
monochromatic
#7B7D21 #ABAD2E #CDCF49 #DADC79 #E8E9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCF49#FFFFFF#000000##000000
##CDCF491.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)
#DFC637
Deuteranopia (green-blind)
#E0CA52
Tritanopia (blue-blind)
#DBC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf49;
/* rgb */ color: rgb(205, 207, 73);
/* oklch */ color: oklch(82.8% 0.153 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd83',
    500: '#cdcf49',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf49;
$custom-light: #dfdd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf49",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 60.896,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82848,
    "c": 0.15303,
    "h": 110.1
  },
  "luminance": 0.58086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCF49

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

Preview Lab → · Contrast checker → · Palette generator →

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