#CFCC63#CFCC63

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

Color values

HEX#CFCC63
RGBrgb(207, 204, 99)
HSLhsl(58, 53%, 60%)
HSVhsv(58, 52%, 81%)
CMYKcmyk(0%, 1.4%, 52.2%, 18.8%)
CIE-LABlab(80.38, -12.93, 51.99)
CIE-LCHlch(80.38, 53.57, 103.97°)
OKLaboklab(82.64% -0.0382 0.122)
OKLCHoklch(82.64% 0.128 107.4)
XYZxyz(49.5784, 57.3533, 20.2606)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC63 #6366CF
analogous
#CF9663 #CFCC63 #9CCF63
triadic
#CFCC63 #63CFCC #CC63CF
tetradic
#CFCC63 #63CF96 #6366CF #CF639C
square
#CFCC63 #63CF96 #6366CF #CF639C
split-complementary
#CFCC63 #639CCF #9663CF
monochromatic
#8C8A2B #BBB83A #CFCC63 #DDDB92 #ECEBC1

Accessibility & contrast

On white

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

On black

12.47
#CFCC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC63
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC63#FFFFFF#000000##000000
##CFCC631.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC559
Deuteranopia (green-blind)
#DDC968
Tritanopia (blue-blind)
#DCC1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc63;
/* rgb */ color: rgb(207, 204, 99);
/* oklch */ color: oklch(82.6% 0.128 107.4);
Tailwind
colors: {
  custom: {
    50: '#e0db92',
    500: '#cfcc63',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc63;
$custom-light: #e0db92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc63",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 99
  },
  "hsl": {
    "h": 58.333,
    "s": 52.941,
    "l": 60
  },
  "oklch": {
    "l": 0.82636,
    "c": 0.12782,
    "h": 107.4
  },
  "luminance": 0.57352
}

Semantic roles & 50–950 ramp

primary
#CFCC63
secondary
#434693
accent
#4FDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFCC63

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

Preview Lab → · Contrast checker → · Palette generator →

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