#CFD651#CFD651

#CFD651 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.6% C 0.154 H 112.1°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#CFD651
RGBrgb(207, 214, 81)
HSLhsl(63, 62%, 58%)
HSVhsv(63, 62%, 84%)
CMYKcmyk(3.3%, 0%, 62.1%, 16.1%)
CIE-LABlab(82.89, -19.24, 62.72)
CIE-LCHlch(82.89, 65.60, 107.06°)
OKLaboklab(84.59% -0.058 0.1427)
OKLCHoklch(84.59% 0.154 112.1)
XYZxyz(51.2653, 61.9537, 17.0407)
Luminance0.6195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD651 #5851D6
analogous
#D69A51 #CFD651 #8CD651
triadic
#CFD651 #51CFD6 #D651CF
tetradic
#CFD651 #51D69A #5851D6 #D6518C
square
#CFD651 #51D69A #5851D6 #D6518C
split-complementary
#CFD651 #518CD6 #9A51D6
monochromatic
#868C21 #B6BD2D #CFD651 #DDE283 #EAEDB4

Accessibility & contrast

On white

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

On black

13.39
#CFD651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD651
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD651#FFFFFF#000000##000000
##CFD6511.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#DCCABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd651;
/* rgb */ color: rgb(207, 214, 81);
/* oklch */ color: oklch(84.6% 0.154 112.1);
Tailwind
colors: {
  custom: {
    50: '#e1e288',
    500: '#cfd651',
    950: '#000000',
  },
}
SCSS
$custom: #cfd651;
$custom-light: #e1e288;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd651",
  "rgb": {
    "r": 207,
    "g": 214,
    "b": 81
  },
  "hsl": {
    "h": 63.158,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84585,
    "c": 0.15406,
    "h": 112.1
  },
  "luminance": 0.61953
}

Semantic roles & 50–950 ramp

primary
#CFD651
secondary
#3E3A92
accent
#43E54B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD651

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

Preview Lab → · Contrast checker → · Palette generator →

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