#CFD562#CFD562

#CFD562 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.5% C 0.139 H 111.7°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#CFD562
RGBrgb(207, 213, 98)
HSLhsl(63, 58%, 61%)
HSVhsv(63, 54%, 84%)
CMYKcmyk(2.8%, 0%, 54%, 16.5%)
CIE-LABlab(82.77, -17.51, 55.22)
CIE-LCHlch(82.77, 57.93, 107.60°)
OKLaboklab(84.54% -0.0514 0.1288)
OKLCHoklch(84.54% 0.139 111.7)
XYZxyz(51.7321, 61.7368, 20.7441)
Luminance0.6174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD562 #6862D5
analogous
#D5A162 #CFD562 #95D562
triadic
#CFD562 #62CFD5 #D562CF
tetradic
#CFD562 #62D5A1 #6862D5 #D56295
square
#CFD562 #62D5A1 #6862D5 #D56295
split-complementary
#CFD562 #6295D5 #A162D5
monochromatic
#8F9528 #BEC535 #CFD562 #DEE292 #EDEFC3

Accessibility & contrast

On white

1.57
#CFD562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#CFD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD562
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD562#FFFFFF#000000##000000
##CFD5621.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#E4D068
Tritanopia (blue-blind)
#DBCABC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd562;
/* rgb */ color: rgb(207, 213, 98);
/* oklch */ color: oklch(84.5% 0.139 111.7);
Tailwind
colors: {
  custom: {
    50: '#e0e192',
    500: '#cfd562',
    950: '#000000',
  },
}
SCSS
$custom: #cfd562;
$custom-light: #e0e192;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd562",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 63.13,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84542,
    "c": 0.1387,
    "h": 111.7
  },
  "luminance": 0.61736
}

Semantic roles & 50–950 ramp

primary
#CFD562
secondary
#46419A
accent
#20C529
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD562

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

Preview Lab → · Contrast checker → · Palette generator →

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