#CFC568#CFC568

#CFC568 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.116 H 103.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CFC568
RGBrgb(207, 197, 104)
HSLhsl(54, 52%, 61%)
HSVhsv(54, 50%, 81%)
CMYKcmyk(0%, 4.8%, 49.8%, 18.8%)
CIE-LABlab(78.58, -8.94, 47.48)
CIE-LCHlch(78.58, 48.32, 100.67°)
OKLaboklab(81.22% -0.0263 0.1126)
OKLCHoklch(81.22% 0.116 103.1)
XYZxyz(48.1984, 54.1989, 21.0165)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC568 #6872CF
analogous
#CF9168 #CFC568 #A5CF68
triadic
#CFC568 #68CFC5 #C568CF
tetradic
#CFC568 #68CF91 #6872CF #CF68A5
square
#CFC568 #68CF91 #6872CF #CF68A5
split-complementary
#CFC568 #68A5CF #9168CF
monochromatic
#8F862D #BEB13C #CFC568 #DED796 #EDE9C5

Accessibility & contrast

On white

1.77
#CFC568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CFC568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC568
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC568#FFFFFF#000000##000000
##CFC5681.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc568;
/* rgb */ color: rgb(207, 197, 104);
/* oklch */ color: oklch(81.2% 0.116 103.1);
Tailwind
colors: {
  custom: {
    50: '#e0d695',
    500: '#cfc568',
    950: '#000000',
  },
}
SCSS
$custom: #cfc568;
$custom-light: #e0d695;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc568",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 104
  },
  "hsl": {
    "h": 54.175,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81223,
    "c": 0.11565,
    "h": 103.1
  },
  "luminance": 0.54197
}

Semantic roles & 50–950 ramp

primary
#CFC568
secondary
#464E95
accent
#35BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC568

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

Preview Lab → · Contrast checker → · Palette generator →

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