#CFD968#CFD968

#CFD968 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.138 H 113.5°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#CFD968
RGBrgb(207, 217, 104)
HSLhsl(65, 60%, 63%)
HSVhsv(65, 52%, 85%)
CMYKcmyk(4.6%, 0%, 52.1%, 14.9%)
CIE-LABlab(83.91, -18.98, 53.78)
CIE-LCHlch(83.91, 57.04, 109.44°)
OKLaboklab(85.47% -0.0549 0.1264)
OKLCHoklch(85.47% 0.138 113.5)
XYZxyz(53.0447, 63.8915, 22.6320)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD968 #7268D9
analogous
#D9AB68 #CFD968 #96D968
triadic
#CFD968 #68CFD9 #D968CF
tetradic
#CFD968 #68D9AB #7268D9 #D96896
square
#CFD968 #68D9AB #7268D9 #D96896
split-complementary
#CFD968 #6896D9 #AB68D9
monochromatic
#949F28 #BFCD37 #CFD968 #DFE599 #EEF2CA

Accessibility & contrast

On white

1.52
#CFD968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#CFD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD968
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD968#FFFFFF#000000##000000
##CFD9681.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05D
Deuteranopia (green-blind)
#E6D36E
Tritanopia (blue-blind)
#DBCEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd968;
/* rgb */ color: rgb(207, 217, 104);
/* oklch */ color: oklch(85.5% 0.138 113.5);
Tailwind
colors: {
  custom: {
    50: '#e0e496',
    500: '#cfd968',
    950: '#000000',
  },
}
SCSS
$custom: #cfd968;
$custom-light: #e0e496;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd968",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 65.31,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8547,
    "c": 0.13778,
    "h": 113.5
  },
  "luminance": 0.63891
}

Semantic roles & 50–950 ramp

primary
#CFD968
secondary
#4B43A3
accent
#1EC72D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD968

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

Preview Lab → · Contrast checker → · Palette generator →

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