#CFD846#CFD846

#CFD846 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.9% C 0.164 H 112.8°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#CFD846
RGBrgb(207, 216, 70)
HSLhsl(64, 65%, 56%)
HSVhsv(64, 68%, 85%)
CMYKcmyk(4.2%, 0%, 67.6%, 15.3%)
CIE-LABlab(83.35, -20.88, 67.51)
CIE-LCHlch(83.35, 70.67, 107.18°)
OKLaboklab(84.93% -0.0637 0.1512)
OKLCHoklch(84.93% 0.164 112.8)
XYZxyz(51.3950, 62.8204, 15.2113)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD846 #4F46D8
analogous
#D89846 #CFD846 #86D846
triadic
#CFD846 #46CFD8 #D846CF
tetradic
#CFD846 #46D898 #4F46D8 #D84686
square
#CFD846 #46D898 #4F46D8 #D84686
split-complementary
#CFD846 #4686D8 #9846D8
monochromatic
#81871C #B1BA27 #CFD846 #DCE379 #E9EDAB

Accessibility & contrast

On white

1.55
#CFD846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#CFD846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD846
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD846#FFFFFF#000000##000000
##CFD8461.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2F
Deuteranopia (green-blind)
#E8D151
Tritanopia (blue-blind)
#DDCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd846;
/* rgb */ color: rgb(207, 216, 70);
/* oklch */ color: oklch(84.9% 0.164 112.8);
Tailwind
colors: {
  custom: {
    50: '#e1e382',
    500: '#cfd846',
    950: '#000000',
  },
}
SCSS
$custom: #cfd846;
$custom-light: #e1e382;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd846",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 63.699,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84927,
    "c": 0.16405,
    "h": 112.8
  },
  "luminance": 0.62819
}

Semantic roles & 50–950 ramp

primary
#CFD846
secondary
#3A358D
accent
#40E84A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD846

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

Preview Lab → · Contrast checker → · Palette generator →

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