#CFD248#CFD248

#CFD248 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.6% C 0.156 H 110.6°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CFD248
RGBrgb(207, 210, 72)
HSLhsl(61, 61%, 55%)
HSVhsv(61, 66%, 82%)
CMYKcmyk(1.4%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.74, -17.82, 65.13)
CIE-LCHlch(81.74, 67.52, 105.30°)
OKLaboklab(83.65% -0.0549 0.1465)
OKLCHoklch(83.65% 0.156 110.6)
XYZxyz(49.9500, 59.8278, 15.0463)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD248 #4B48D2
analogous
#D29048 #CFD248 #8AD248
triadic
#CFD248 #48CFD2 #D248CF
tetradic
#CFD248 #48D290 #4B48D2 #D2488A
square
#CFD248 #48D290 #4B48D2 #D2488A
split-complementary
#CFD248 #488AD2 #9048D2
monochromatic
#7E8020 #AEB12C #CFD248 #DCDE79 #E9EAAA

Accessibility & contrast

On white

1.62
#CFD248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#CFD248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD248
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD248#FFFFFF#000000##000000
##CFD2481.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#DDC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd248;
/* rgb */ color: rgb(207, 210, 72);
/* oklch */ color: oklch(83.6% 0.156 110.6);
Tailwind
colors: {
  custom: {
    50: '#e1df82',
    500: '#cfd248',
    950: '#000000',
  },
}
SCSS
$custom: #cfd248;
$custom-light: #e1df82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd248",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 61.304,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83649,
    "c": 0.15642,
    "h": 110.6
  },
  "luminance": 0.59826
}

Semantic roles & 50–950 ramp

primary
#CFD248
secondary
#393787
accent
#44E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD248

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

Preview Lab → · Contrast checker → · Palette generator →

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