#CFDB78#CFDB78

#CFDB78 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.1% C 0.124 H 114.7°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#CFDB78
RGBrgb(207, 219, 120)
HSLhsl(67, 58%, 66%)
HSVhsv(67, 45%, 86%)
CMYKcmyk(5.5%, 0%, 45.2%, 14.1%)
CIE-LABlab(84.63, -18.48, 47.08)
CIE-LCHlch(84.63, 50.58, 111.43°)
OKLaboklab(86.11% -0.052 0.113)
OKLCHoklch(86.11% 0.124 114.7)
XYZxyz(54.4545, 65.2852, 27.4983)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB78 #8478DB
analogous
#DBB678 #CFDB78 #9EDB78
triadic
#CFDB78 #78CFDB #DB78CF
tetradic
#CFDB78 #78DBB6 #8478DB #DB789E
square
#CFDB78 #78DBB6 #8478DB #DB789E
split-complementary
#CFDB78 #789EDB #B678DB
monochromatic
#9CAB2E #BECE48 #CFDB78 #E0E8A8 #F1F5D9

Accessibility & contrast

On white

1.49
#CFDB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#CFDB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB78
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB78#FFFFFF#000000##000000
##CFDB781.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D270
Deuteranopia (green-blind)
#E7D47D
Tritanopia (blue-blind)
#D9D1C4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfdb78;
/* rgb */ color: rgb(207, 219, 120);
/* oklch */ color: oklch(86.1% 0.124 114.7);
Tailwind
colors: {
  custom: {
    50: '#dfe6a1',
    500: '#cfdb78',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb78;
$custom-light: #dfe6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb78",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 67.273,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86106,
    "c": 0.12436,
    "h": 114.7
  },
  "luminance": 0.65284
}

Semantic roles & 50–950 ramp

primary
#CFDB78
secondary
#564AAE
accent
#20C534
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFDB78

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

Preview Lab → · Contrast checker → · Palette generator →

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