#CFD551#CFD551

#CFD551 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.4% C 0.153 H 111.7°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#CFD551
RGBrgb(207, 213, 81)
HSLhsl(63, 61%, 58%)
HSVhsv(63, 62%, 84%)
CMYKcmyk(2.8%, 0%, 62%, 16.5%)
CIE-LABlab(82.62, -18.75, 62.43)
CIE-LCHlch(82.62, 65.19, 106.72°)
OKLaboklab(84.37% -0.0566 0.1421)
OKLCHoklch(84.37% 0.153 111.7)
XYZxyz(51.0130, 61.4491, 16.9566)
Luminance0.6145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD551 #5751D5
analogous
#D59951 #CFD551 #8DD551
triadic
#CFD551 #51CFD5 #D551CF
tetradic
#CFD551 #51D599 #5751D5 #D5518D
square
#CFD551 #51D599 #5751D5 #D5518D
split-complementary
#CFD551 #518DD5 #9951D5
monochromatic
#858A21 #B5BC2D #CFD551 #DDE182 #EAEDB4

Accessibility & contrast

On white

1.58
#CFD551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#CFD551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD551
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD551#FFFFFF#000000##000000
##CFD5511.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC41
Deuteranopia (green-blind)
#E5CF59
Tritanopia (blue-blind)
#DCC9B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd551;
/* rgb */ color: rgb(207, 213, 81);
/* oklch */ color: oklch(84.4% 0.153 111.7);
Tailwind
colors: {
  custom: {
    50: '#e1e188',
    500: '#cfd551',
    950: '#000000',
  },
}
SCSS
$custom: #cfd551;
$custom-light: #e1e188;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd551",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 62.727,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8437,
    "c": 0.15298,
    "h": 111.7
  },
  "luminance": 0.61448
}

Semantic roles & 50–950 ramp

primary
#CFD551
secondary
#3E3A90
accent
#44E44B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD551

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

Preview Lab → · Contrast checker → · Palette generator →

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