#CFD754#CFD754

#CFD754 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.153 H 112.5°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#CFD754
RGBrgb(207, 215, 84)
HSLhsl(64, 62%, 59%)
HSVhsv(64, 61%, 84%)
CMYKcmyk(3.7%, 0%, 60.9%, 15.7%)
CIE-LABlab(83.18, -19.53, 61.79)
CIE-LCHlch(83.18, 64.80, 107.54°)
OKLaboklab(84.83% -0.0585 0.1412)
OKLCHoklch(84.83% 0.153 112.5)
XYZxyz(51.6341, 62.5074, 17.7309)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD754 #5C54D7
analogous
#D79D54 #CFD754 #8DD754
triadic
#CFD754 #54CFD7 #D754CF
tetradic
#CFD754 #54D79D #5C54D7 #D7548D
square
#CFD754 #54D79D #5C54D7 #D7548D
split-complementary
#CFD754 #548DD7 #9D54D7
monochromatic
#888F21 #B8C12D #CFD754 #DDE386 #EBEEB7

Accessibility & contrast

On white

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

On black

13.50
#CFD754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD754
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD754#FFFFFF#000000##000000
##CFD7541.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE44
Deuteranopia (green-blind)
#E6D15C
Tritanopia (blue-blind)
#DCCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd754;
/* rgb */ color: rgb(207, 215, 84);
/* oklch */ color: oklch(84.8% 0.153 112.5);
Tailwind
colors: {
  custom: {
    50: '#e0e38a',
    500: '#cfd754',
    950: '#000000',
  },
}
SCSS
$custom: #cfd754;
$custom-light: #e0e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd754",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 63.664,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84828,
    "c": 0.15282,
    "h": 112.5
  },
  "luminance": 0.62506
}

Semantic roles & 50–950 ramp

primary
#CFD754
secondary
#403B95
accent
#43E54D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD754

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

Preview Lab → · Contrast checker → · Palette generator →

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