#CFD978#CFD978

#CFD978 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.122 H 113.8°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#CFD978
RGBrgb(207, 217, 120)
HSLhsl(66, 56%, 66%)
HSVhsv(66, 45%, 85%)
CMYKcmyk(4.6%, 0%, 44.7%, 14.9%)
CIE-LABlab(84.09, -17.49, 46.42)
CIE-LCHlch(84.09, 49.61, 110.64°)
OKLaboklab(85.68% -0.0492 0.1115)
OKLCHoklch(85.68% 0.122 113.8)
XYZxyz(53.9358, 64.2479, 27.3254)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD978 #8278D9
analogous
#D9B278 #CFD978 #9ED978
triadic
#CFD978 #78CFD9 #D978CF
tetradic
#CFD978 #78D9B2 #8278D9 #D9789E
square
#CFD978 #78D9B2 #8278D9 #D9789E
split-complementary
#CFD978 #789ED9 #B278D9
monochromatic
#9BA72F #BECC48 #CFD978 #E0E6A8 #F1F4D8

Accessibility & contrast

On white

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

On black

13.85
#CFD978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD978
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD978#FFFFFF#000000##000000
##CFD9781.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D170
Deuteranopia (green-blind)
#E5D37D
Tritanopia (blue-blind)
#D9CFC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd978;
/* rgb */ color: rgb(207, 217, 120);
/* oklch */ color: oklch(85.7% 0.122 113.8);
Tailwind
colors: {
  custom: {
    50: '#dfe4a1',
    500: '#cfd978',
    950: '#000000',
  },
}
SCSS
$custom: #cfd978;
$custom-light: #dfe4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd978",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 66.186,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85678,
    "c": 0.12187,
    "h": 113.8
  },
  "luminance": 0.64247
}

Semantic roles & 50–950 ramp

primary
#CFD978
secondary
#544AAB
accent
#22C433
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD978

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

Preview Lab → · Contrast checker → · Palette generator →

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