#CFD948#CFD948

#CFD948 is a very light, vivid yellow. Relative luminance 0.634; 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#CFD948
RGBrgb(207, 217, 72)
HSLhsl(64, 66%, 57%)
HSVhsv(64, 67%, 85%)
CMYKcmyk(4.6%, 0%, 66.8%, 14.9%)
CIE-LABlab(83.63, -21.25, 67.05)
CIE-LCHlch(83.63, 70.34, 107.59°)
OKLaboklab(85.16% -0.0645 0.1505)
OKLCHoklch(85.16% 0.164 113.2)
XYZxyz(51.7161, 63.3601, 15.6350)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD948 #5248D9
analogous
#D99B48 #CFD948 #87D948
triadic
#CFD948 #48CFD9 #D948CF
tetradic
#CFD948 #48D99B #5248D9 #D94887
square
#CFD948 #48D99B #5248D9 #D94887
split-complementary
#CFD948 #4887D9 #9B48D9
monochromatic
#828A1D #B2BD27 #CFD948 #DCE47B #EAEEAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD948#FFFFFF#000000##000000
##CFD9481.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)
#E9CF32
Deuteranopia (green-blind)
#E9D252
Tritanopia (blue-blind)
#DCCCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd948;
/* rgb */ color: rgb(207, 217, 72);
/* oklch */ color: oklch(85.2% 0.164 113.2);
Tailwind
colors: {
  custom: {
    50: '#e1e483',
    500: '#cfd948',
    950: '#000000',
  },
}
SCSS
$custom: #cfd948;
$custom-light: #e1e483;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd948",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 64.138,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85158,
    "c": 0.16377,
    "h": 113.2
  },
  "luminance": 0.63359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD948

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

Preview Lab → · Contrast checker → · Palette generator →

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