#CFDF48#CFDF48

#CFDF48 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.5% C 0.170 H 115.3°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#CFDF48
RGBrgb(207, 223, 72)
HSLhsl(66, 70%, 58%)
HSVhsv(66, 68%, 87%)
CMYKcmyk(7.2%, 0%, 67.7%, 12.5%)
CIE-LABlab(85.26, -24.15, 68.69)
CIE-LCHlch(85.26, 72.81, 109.37°)
OKLaboklab(86.46% -0.0727 0.154)
OKLCHoklch(86.46% 0.17 115.3)
XYZxyz(53.2909, 66.5095, 16.1599)
Luminance0.6651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF48 #5848DF
analogous
#DFA448 #CFDF48 #83DF48
triadic
#CFDF48 #48CFDF #DF48CF
tetradic
#CFDF48 #48DFA4 #5848DF #DF4883
square
#CFDF48 #48DFA4 #5848DF #DF4883
split-complementary
#CFDF48 #4883DF #A448DF
monochromatic
#86931A #B6C723 #CFDF48 #DDE87C #EAF1B0

Accessibility & contrast

On white

1.47
#CFDF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#CFDF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF48
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF48#FFFFFF#000000##000000
##CFDF481.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED431
Deuteranopia (green-blind)
#EDD653
Tritanopia (blue-blind)
#DCD2C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf48;
/* rgb */ color: rgb(207, 223, 72);
/* oklch */ color: oklch(86.5% 0.170 115.3);
Tailwind
colors: {
  custom: {
    50: '#e1e883',
    500: '#cfdf48',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf48;
$custom-light: #e1e883;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf48",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 72
  },
  "hsl": {
    "h": 66.358,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8646,
    "c": 0.17025,
    "h": 115.3
  },
  "luminance": 0.66509
}

Semantic roles & 50–950 ramp

primary
#CFDF48
secondary
#3E3498
accent
#3BED4E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFDF48

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

Preview Lab → · Contrast checker → · Palette generator →

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