#CFD947#CFD947

#CFD947 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.164 H 113.2°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CFD947
RGBrgb(207, 217, 71)
HSLhsl(64, 66%, 56%)
HSVhsv(64, 67%, 85%)
CMYKcmyk(4.6%, 0%, 67.3%, 14.9%)
CIE-LABlab(83.62, -21.31, 67.42)
CIE-LCHlch(83.62, 70.70, 107.54°)
OKLaboklab(85.15% -0.0648 0.1511)
OKLCHoklch(85.15% 0.164 113.2)
XYZxyz(51.6838, 63.3471, 15.4646)
Luminance0.6335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD947 #5147D9
analogous
#D99A47 #CFD947 #86D947
triadic
#CFD947 #47CFD9 #D947CF
tetradic
#CFD947 #47D99A #5147D9 #D94786
square
#CFD947 #47D99A #5147D9 #D94786
split-complementary
#CFD947 #4786D9 #9A47D9
monochromatic
#82891C #B2BC27 #CFD947 #DCE37A #E9EEAC

Accessibility & contrast

On white

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

On black

13.67
#CFD947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD947
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD947#FFFFFF#000000##000000
##CFD9471.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd947;
/* rgb */ color: rgb(207, 217, 71);
/* oklch */ color: oklch(85.2% 0.164 113.2);
Tailwind
colors: {
  custom: {
    50: '#e1e482',
    500: '#cfd947',
    950: '#000000',
  },
}
SCSS
$custom: #cfd947;
$custom-light: #e1e482;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd947",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 64.11,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85151,
    "c": 0.16445,
    "h": 113.2
  },
  "luminance": 0.63346
}

Semantic roles & 50–950 ramp

primary
#CFD947
secondary
#3B358F
accent
#3FE94B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD947

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

Preview Lab → · Contrast checker → · Palette generator →

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