#CFDB57#CFDB57

#CFDB57 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.7% C 0.155 H 114.1°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#CFDB57
RGBrgb(207, 219, 87)
HSLhsl(65, 65%, 60%)
HSVhsv(65, 60%, 86%)
CMYKcmyk(5.5%, 0%, 60.3%, 14.1%)
CIE-LABlab(84.29, -21.28, 61.72)
CIE-LCHlch(84.29, 65.29, 109.02°)
OKLaboklab(85.72% -0.0631 0.1414)
OKLCHoklch(85.72% 0.155 114.1)
XYZxyz(52.7852, 64.6175, 18.7067)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB57 #6357DB
analogous
#DBA557 #CFDB57 #8DDB57
triadic
#CFDB57 #57CFDB #DB57CF
tetradic
#CFDB57 #57DBA5 #6357DB #DB578D
square
#CFDB57 #57DBA5 #6357DB #DB578D
split-complementary
#CFDB57 #578DDB #A557DB
monochromatic
#8C9720 #BBCA2B #CFDB57 #DDE689 #ECF1BC

Accessibility & contrast

On white

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

On black

13.92
#CFDB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB57
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB57#FFFFFF#000000##000000
##CFDB571.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD147
Deuteranopia (green-blind)
#E9D45F
Tritanopia (blue-blind)
#DBCFBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb57;
/* rgb */ color: rgb(207, 219, 87);
/* oklch */ color: oklch(85.7% 0.155 114.1);
Tailwind
colors: {
  custom: {
    50: '#e0e68c',
    500: '#cfdb57',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb57;
$custom-light: #e0e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb57",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 65.455,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.85719,
    "c": 0.15488,
    "h": 114.1
  },
  "luminance": 0.64617
}

Semantic roles & 50–950 ramp

primary
#CFDB57
secondary
#433B9C
accent
#40E84F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDB57

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

Preview Lab → · Contrast checker → · Palette generator →

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