#CFDB42#CFDB42

#CFDB42 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.5% C 0.170 H 113.9°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#CFDB42
RGBrgb(207, 219, 66)
HSLhsl(65, 68%, 56%)
HSVhsv(65, 70%, 86%)
CMYKcmyk(5.5%, 0%, 69.9%, 14.1%)
CIE-LABlab(84.13, -22.54, 69.75)
CIE-LCHlch(84.13, 73.30, 107.91°)
OKLaboklab(85.55% -0.0687 0.1552)
OKLCHoklch(85.55% 0.17 113.9)
XYZxyz(52.0485, 64.3228, 14.8269)
Luminance0.6432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB42 #4E42DB
analogous
#DB9A42 #CFDB42 #82DB42
triadic
#CFDB42 #42CFDB #DB42CF
tetradic
#CFDB42 #42DB9A #4E42DB #DB4282
square
#CFDB42 #42DB9A #4E42DB #DB4282
split-complementary
#CFDB42 #4282DB #9A42DB
monochromatic
#80891A #B0BC24 #CFDB42 #DCE575 #E9EFA9

Accessibility & contrast

On white

1.51
#CFDB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#CFDB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB42
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB42#FFFFFF#000000##000000
##CFDB421.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD028
Deuteranopia (green-blind)
#EAD34E
Tritanopia (blue-blind)
#DCCEBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb42;
/* rgb */ color: rgb(207, 219, 66);
/* oklch */ color: oklch(85.5% 0.170 113.9);
Tailwind
colors: {
  custom: {
    50: '#e1e680',
    500: '#cfdb42',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb42;
$custom-light: #e1e680;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb42",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 64.706,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85548,
    "c": 0.16977,
    "h": 113.9
  },
  "luminance": 0.64322
}

Semantic roles & 50–950 ramp

primary
#CFDB42
secondary
#3A338F
accent
#3DEB4B
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFDB42

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

Preview Lab → · Contrast checker → · Palette generator →

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