#CFD748#CFD748

#CFD748 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.7% C 0.162 H 112.5°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#CFD748
RGBrgb(207, 215, 72)
HSLhsl(63, 64%, 56%)
HSVhsv(63, 67%, 84%)
CMYKcmyk(3.7%, 0%, 66.5%, 15.7%)
CIE-LABlab(83.09, -20.28, 66.50)
CIE-LCHlch(83.09, 69.52, 106.96°)
OKLaboklab(84.73% -0.0618 0.1494)
OKLCHoklch(84.73% 0.162 112.5)
XYZxyz(51.2038, 62.3353, 15.4642)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD748 #5048D7
analogous
#D79848 #CFD748 #88D748
triadic
#CFD748 #48CFD7 #D748CF
tetradic
#CFD748 #48D798 #5048D7 #D74888
square
#CFD748 #48D798 #5048D7 #D74888
split-complementary
#CFD748 #4888D7 #9848D7
monochromatic
#81871E #B1B929 #CFD748 #DCE27A #E9EDAC

Accessibility & contrast

On white

1.56
#CFD748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#CFD748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD748
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD748#FFFFFF#000000##000000
##CFD7481.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD33
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#DDCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd748;
/* rgb */ color: rgb(207, 215, 72);
/* oklch */ color: oklch(84.7% 0.162 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e383',
    500: '#cfd748',
    950: '#000000',
  },
}
SCSS
$custom: #cfd748;
$custom-light: #e1e383;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd748",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 63.357,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84726,
    "c": 0.16165,
    "h": 112.5
  },
  "luminance": 0.62334
}

Semantic roles & 50–950 ramp

primary
#CFD748
secondary
#3B368D
accent
#41E74A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD748

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

Preview Lab → · Contrast checker → · Palette generator →

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