#CFD847#CFD847

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

Color values

HEX#CFD847
RGBrgb(207, 216, 71)
HSLhsl(64, 65%, 56%)
HSVhsv(64, 67%, 85%)
CMYKcmyk(4.2%, 0%, 67.1%, 15.3%)
CIE-LABlab(83.35, -20.82, 67.14)
CIE-LCHlch(83.35, 70.30, 107.23°)
OKLaboklab(84.93% -0.0634 0.1506)
OKLCHoklch(84.93% 0.163 112.8)
XYZxyz(51.4268, 62.8332, 15.3790)
Luminance0.6283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD847 #5047D8
analogous
#D89947 #CFD847 #87D847
triadic
#CFD847 #47CFD8 #D847CF
tetradic
#CFD847 #47D899 #5047D8 #D84787
square
#CFD847 #47D899 #5047D8 #D84787
split-complementary
#CFD847 #4787D8 #9947D8
monochromatic
#81881D #B1BA27 #CFD847 #DCE379 #E9EDAC

Accessibility & contrast

On white

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

On black

13.57
#CFD847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD847
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD847#FFFFFF#000000##000000
##CFD8471.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd847;
/* rgb */ color: rgb(207, 216, 71);
/* oklch */ color: oklch(84.9% 0.163 112.8);
Tailwind
colors: {
  custom: {
    50: '#e1e382',
    500: '#cfd847',
    950: '#000000',
  },
}
SCSS
$custom: #cfd847;
$custom-light: #e1e382;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd847",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 63.724,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84934,
    "c": 0.16338,
    "h": 112.8
  },
  "luminance": 0.62832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD847

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

Preview Lab → · Contrast checker → · Palette generator →

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