#CFC968#CFC968

#CFC968 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.120 H 105.6°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CFC968
RGBrgb(207, 201, 104)
HSLhsl(57, 52%, 61%)
HSVhsv(57, 50%, 81%)
CMYKcmyk(0%, 2.9%, 49.8%, 18.8%)
CIE-LABlab(79.64, -10.98, 48.75)
CIE-LCHlch(79.64, 49.97, 102.70°)
OKLaboklab(82.06% -0.0321 0.1154)
OKLCHoklch(82.06% 0.12 105.6)
XYZxyz(49.1187, 56.0396, 21.3233)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC968 #686ECF
analogous
#CF9568 #CFC968 #A1CF68
triadic
#CFC968 #68CFC9 #C968CF
tetradic
#CFC968 #68CF95 #686ECF #CF68A1
square
#CFC968 #68CF95 #686ECF #CF68A1
split-complementary
#CFC968 #68A1CF #9568CF
monochromatic
#8F892D #BEB63C #CFC968 #DEDA96 #EDEAC5

Accessibility & contrast

On white

1.72
#CFC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CFC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC968
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC968#FFFFFF#000000##000000
##CFC9681.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35F
Deuteranopia (green-blind)
#DAC76D
Tritanopia (blue-blind)
#DCBEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc968;
/* rgb */ color: rgb(207, 201, 104);
/* oklch */ color: oklch(82.1% 0.120 105.6);
Tailwind
colors: {
  custom: {
    50: '#e0d995',
    500: '#cfc968',
    950: '#000000',
  },
}
SCSS
$custom: #cfc968;
$custom-light: #e0d995;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc968",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 56.505,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82064,
    "c": 0.11979,
    "h": 105.6
  },
  "luminance": 0.56038
}

Semantic roles & 50–950 ramp

primary
#CFC968
secondary
#464B95
accent
#2FBF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC968

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

Preview Lab → · Contrast checker → · Palette generator →

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