#CFD851#CFD851

#CFD851 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.0% C 0.156 H 112.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CFD851
RGBrgb(207, 216, 81)
HSLhsl(64, 63%, 58%)
HSVhsv(64, 63%, 85%)
CMYKcmyk(4.2%, 0%, 62.5%, 15.3%)
CIE-LABlab(83.43, -20.22, 63.29)
CIE-LCHlch(83.43, 66.44, 107.72°)
OKLaboklab(85.02% -0.0608 0.1439)
OKLCHoklch(85.02% 0.156 112.9)
XYZxyz(51.7746, 62.9723, 17.2105)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD851 #5A51D8
analogous
#D89D51 #CFD851 #8BD851
triadic
#CFD851 #51CFD8 #D851CF
tetradic
#CFD851 #51D89D #5A51D8 #D8518B
square
#CFD851 #51D89D #5A51D8 #D8518B
split-complementary
#CFD851 #518BD8 #9D51D8
monochromatic
#878F20 #B7C12B #CFD851 #DDE383 #EBEEB5

Accessibility & contrast

On white

1.54
#CFD851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CFD851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD851
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD851#FFFFFF#000000##000000
##CFD8511.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#DCCCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd851;
/* rgb */ color: rgb(207, 216, 81);
/* oklch */ color: oklch(85.0% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#e1e388',
    500: '#cfd851',
    950: '#000000',
  },
}
SCSS
$custom: #cfd851;
$custom-light: #e1e388;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd851",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 81
  },
  "hsl": {
    "h": 64,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85016,
    "c": 0.15623,
    "h": 112.9
  },
  "luminance": 0.62971
}

Semantic roles & 50–950 ramp

primary
#CFD851
secondary
#3F3994
accent
#41E64C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD851

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

Preview Lab → · Contrast checker → · Palette generator →

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