#CFD975#CFD975

#CFD975 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.125 H 113.7°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#CFD975
RGBrgb(207, 217, 117)
HSLhsl(66, 57%, 65%)
HSVhsv(66, 46%, 85%)
CMYKcmyk(4.6%, 0%, 46.1%, 14.9%)
CIE-LABlab(84.06, -17.79, 47.83)
CIE-LCHlch(84.06, 51.03, 110.40°)
OKLaboklab(85.64% -0.0503 0.1144)
OKLCHoklch(85.64% 0.125 113.7)
XYZxyz(53.7566, 64.1762, 26.3816)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD975 #7F75D9
analogous
#D9B175 #CFD975 #9DD975
triadic
#CFD975 #75CFD9 #D975CF
tetradic
#CFD975 #75D9B1 #7F75D9 #D9759D
square
#CFD975 #75D9B1 #7F75D9 #D9759D
split-complementary
#CFD975 #759DD9 #B175D9
monochromatic
#9AA62E #BECC45 #CFD975 #E0E6A5 #F0F3D5

Accessibility & contrast

On white

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

On black

13.84
#CFD975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD975
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD975#FFFFFF#000000##000000
##CFD9751.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16C
Deuteranopia (green-blind)
#E5D37A
Tritanopia (blue-blind)
#DACFC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd975;
/* rgb */ color: rgb(207, 217, 117);
/* oklch */ color: oklch(85.6% 0.125 113.7);
Tailwind
colors: {
  custom: {
    50: '#dfe49f',
    500: '#cfd975',
    950: '#000000',
  },
}
SCSS
$custom: #cfd975;
$custom-light: #dfe49f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd975",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 66,
    "s": 56.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85636,
    "c": 0.12498,
    "h": 113.7
  },
  "luminance": 0.64175
}

Semantic roles & 50–950 ramp

primary
#CFD975
secondary
#5349A9
accent
#21C431
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD975

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

Preview Lab → · Contrast checker → · Palette generator →

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