#CFCD48#CFCD48

#CFCD48 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.151 H 108.5°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CFCD48
RGBrgb(207, 205, 72)
HSLhsl(59, 58%, 55%)
HSVhsv(59, 65%, 81%)
CMYKcmyk(0%, 1%, 65.2%, 18.8%)
CIE-LABlab(80.40, -15.33, 63.75)
CIE-LCHlch(80.40, 65.57, 103.53°)
OKLaboklab(82.58% -0.0479 0.1436)
OKLCHoklch(82.58% 0.151 108.5)
XYZxyz(48.7348, 57.3974, 14.6413)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD48 #484ACF
analogous
#CF8A48 #CFCD48 #8ECF48
triadic
#CFCD48 #48CFCD #CD48CF
tetradic
#CFCD48 #48CF8A #484ACF #CF488E
square
#CFCD48 #48CF8A #484ACF #CF488E
split-complementary
#CFCD48 #488ECF #8A48CF
monochromatic
#7C7B21 #ADAB2D #CFCD48 #DCDA78 #E8E7A9

Accessibility & contrast

On white

1.68
#CFCD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CFCD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD48
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD48#FFFFFF#000000##000000
##CFCD481.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC536
Deuteranopia (green-blind)
#DFCA51
Tritanopia (blue-blind)
#DDC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd48;
/* rgb */ color: rgb(207, 205, 72);
/* oklch */ color: oklch(82.6% 0.151 108.5);
Tailwind
colors: {
  custom: {
    50: '#e1dc82',
    500: '#cfcd48',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd48;
$custom-light: #e1dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd48",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 59.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82578,
    "c": 0.15135,
    "h": 108.5
  },
  "luminance": 0.57396
}

Semantic roles & 50–950 ramp

primary
#CFCD48
secondary
#373884
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCD48

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

Preview Lab → · Contrast checker → · Palette generator →

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