#CFC563#CFC563

#CFC563 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.121 H 103.5°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CFC563
RGBrgb(207, 197, 99)
HSLhsl(54, 53%, 60%)
HSVhsv(54, 52%, 81%)
CMYKcmyk(0%, 4.8%, 52.2%, 18.8%)
CIE-LABlab(78.52, -9.38, 49.81)
CIE-LCHlch(78.52, 50.69, 100.66°)
OKLaboklab(81.16% -0.0281 0.1173)
OKLCHoklch(81.16% 0.121 103.5)
XYZxyz(47.9519, 54.1003, 19.7184)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC563 #636DCF
analogous
#CF8F63 #CFC563 #A3CF63
triadic
#CFC563 #63CFC5 #C563CF
tetradic
#CFC563 #63CF8F #636DCF #CF63A3
square
#CFC563 #63CF8F #636DCF #CF63A3
split-complementary
#CFC563 #63A3CF #8F63CF
monochromatic
#8C832B #BBAF3A #CFC563 #DDD692 #ECE8C1

Accessibility & contrast

On white

1.78
#CFC563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CFC563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC563
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC563#FFFFFF#000000##000000
##CFC5631.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF5A
Deuteranopia (green-blind)
#D7C568
Tritanopia (blue-blind)
#DCBAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc563;
/* rgb */ color: rgb(207, 197, 99);
/* oklch */ color: oklch(81.2% 0.121 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0d692',
    500: '#cfc563',
    950: '#000000',
  },
}
SCSS
$custom: #cfc563;
$custom-light: #e0d692;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc563",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 99
  },
  "hsl": {
    "h": 54.444,
    "s": 52.941,
    "l": 60
  },
  "oklch": {
    "l": 0.81159,
    "c": 0.12056,
    "h": 103.5
  },
  "luminance": 0.54099
}

Semantic roles & 50–950 ramp

primary
#CFC563
secondary
#434B93
accent
#59DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC563

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

Preview Lab → · Contrast checker → · Palette generator →

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