#CFD662#CFD662

#CFD662 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.8% C 0.140 H 112.2°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#CFD662
RGBrgb(207, 214, 98)
HSLhsl(64, 59%, 61%)
HSVhsv(64, 54%, 84%)
CMYKcmyk(3.3%, 0%, 54.2%, 16.1%)
CIE-LABlab(83.04, -18.01, 55.52)
CIE-LCHlch(83.04, 58.37, 107.97°)
OKLaboklab(84.76% -0.0528 0.1295)
OKLCHoklch(84.76% 0.14 112.2)
XYZxyz(51.9844, 62.2414, 20.8282)
Luminance0.6224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD662 #6962D6
analogous
#D6A362 #CFD662 #95D662
triadic
#CFD662 #62CFD6 #D662CF
tetradic
#CFD662 #62D6A3 #6962D6 #D66295
square
#CFD662 #62D6A3 #6962D6 #D66295
split-complementary
#CFD662 #6295D6 #A362D6
monochromatic
#909627 #BEC734 #CFD662 #DEE393 #EDEFC3

Accessibility & contrast

On white

1.56
#CFD662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#CFD662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD662
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD662#FFFFFF#000000##000000
##CFD6621.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E5D068
Tritanopia (blue-blind)
#DBCBBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd662;
/* rgb */ color: rgb(207, 214, 98);
/* oklch */ color: oklch(84.8% 0.140 112.2);
Tailwind
colors: {
  custom: {
    50: '#e0e292',
    500: '#cfd662',
    950: '#000000',
  },
}
SCSS
$custom: #cfd662;
$custom-light: #e0e292;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd662",
  "rgb": {
    "r": 207,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 63.621,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84757,
    "c": 0.13984,
    "h": 112.2
  },
  "luminance": 0.6224
}

Semantic roles & 50–950 ramp

primary
#CFD662
secondary
#46419B
accent
#1FC629
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD662

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

Preview Lab → · Contrast checker → · Palette generator →

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