#CFD048#CFD048

#CFD048 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.2% C 0.154 H 109.7°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#CFD048
RGBrgb(207, 208, 72)
HSLhsl(60, 59%, 55%)
HSVhsv(60, 65%, 82%)
CMYKcmyk(0.5%, 0%, 65.4%, 18.4%)
CIE-LABlab(81.21, -16.83, 64.57)
CIE-LCHlch(81.21, 66.73, 104.61°)
OKLaboklab(83.22% -0.0521 0.1453)
OKLCHoklch(83.22% 0.154 109.7)
XYZxyz(49.4593, 58.8464, 14.8828)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD048 #4948D0
analogous
#D08D48 #CFD048 #8BD048
triadic
#CFD048 #48CFD0 #D048CF
tetradic
#CFD048 #48D08D #4948D0 #D0488B
square
#CFD048 #48D08D #4948D0 #D0488B
split-complementary
#CFD048 #488BD0 #8D48D0
monochromatic
#7D7D20 #ADAE2D #CFD048 #DCDD79 #E9E9A9

Accessibility & contrast

On white

1.64
#CFD048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#CFD048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD048
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD048#FFFFFF#000000##000000
##CFD0481.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C735
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#DDC3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd048;
/* rgb */ color: rgb(207, 208, 72);
/* oklch */ color: oklch(83.2% 0.154 109.7);
Tailwind
colors: {
  custom: {
    50: '#e1de82',
    500: '#cfd048',
    950: '#000000',
  },
}
SCSS
$custom: #cfd048;
$custom-light: #e1de82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd048",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 60.441,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8322,
    "c": 0.15437,
    "h": 109.7
  },
  "luminance": 0.58845
}

Semantic roles & 50–950 ramp

primary
#CFD048
secondary
#383785
accent
#45E247
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD048

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

Preview Lab → · Contrast checker → · Palette generator →

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