#CFD962#CFD962

#CFD962 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.143 H 113.4°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#CFD962
RGBrgb(207, 217, 98)
HSLhsl(65, 61%, 62%)
HSVhsv(65, 55%, 85%)
CMYKcmyk(4.6%, 0%, 54.8%, 14.9%)
CIE-LABlab(83.85, -19.48, 56.44)
CIE-LCHlch(83.85, 59.71, 109.04°)
OKLaboklab(85.4% -0.0569 0.1315)
OKLCHoklch(85.4% 0.143 113.4)
XYZxyz(52.7507, 63.7739, 21.0837)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD962 #6C62D9
analogous
#D9A862 #CFD962 #94D962
triadic
#CFD962 #62CFD9 #D962CF
tetradic
#CFD962 #62D9A8 #6C62D9 #D96294
square
#CFD962 #62D9A8 #6C62D9 #D96294
split-complementary
#CFD962 #6294D9 #A862D9
monochromatic
#919B26 #BFCC31 #CFD962 #DEE593 #EDF1C5

Accessibility & contrast

On white

1.53
#CFD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#CFD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD962
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD962#FFFFFF#000000##000000
##CFD9621.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#E7D269
Tritanopia (blue-blind)
#DBCEBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd962;
/* rgb */ color: rgb(207, 217, 98);
/* oklch */ color: oklch(85.4% 0.143 113.4);
Tailwind
colors: {
  custom: {
    50: '#e0e492',
    500: '#cfd962',
    950: '#000000',
  },
}
SCSS
$custom: #cfd962;
$custom-light: #e0e492;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd962",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 65.042,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85401,
    "c": 0.14328,
    "h": 113.4
  },
  "luminance": 0.63773
}

Semantic roles & 50–950 ramp

primary
#CFD962
secondary
#48409F
accent
#1DC92B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD962

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

Preview Lab → · Contrast checker → · Palette generator →

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