#CFDC5F#CFDC5F

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

Color values

HEX#CFDC5F
RGBrgb(207, 220, 95)
HSLhsl(66, 64%, 62%)
HSVhsv(66, 57%, 86%)
CMYKcmyk(5.9%, 0%, 56.8%, 13.7%)
CIE-LABlab(84.63, -21.18, 58.66)
CIE-LCHlch(84.63, 62.37, 109.86°)
OKLaboklab(86.02% -0.062 0.1359)
OKLCHoklch(86.02% 0.149 114.5)
XYZxyz(53.3920, 65.2789, 20.6117)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC5F #6C5FDC
analogous
#DCAB5F #CFDC5F #91DC5F
triadic
#CFDC5F #5FCFDC #DC5FCF
tetradic
#CFDC5F #5FDCAB #6C5FDC #DC5F91
square
#CFDC5F #5FDCAB #6C5FDC #DC5F91
split-complementary
#CFDC5F #5F91DC #AB5FDC
monochromatic
#919E23 #BFD02E #CFDC5F #DEE791 #EDF2C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFDC5F#FFFFFF#000000##000000
##CFDC5F1.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)
#EAD252
Deuteranopia (green-blind)
#EAD466
Tritanopia (blue-blind)
#DBD0C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfdc5f;
/* rgb */ color: rgb(207, 220, 95);
/* oklch */ color: oklch(86.0% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#e0e691',
    500: '#cfdc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc5f;
$custom-light: #e0e691;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc5f",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 66.24,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86015,
    "c": 0.14938,
    "h": 114.5
  },
  "luminance": 0.65278
}

Semantic roles & 50–950 ramp

primary
#CFDC5F
secondary
#483EA2
accent
#1ACC2C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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