#CFDC5B#CFDC5B

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

Color values

HEX#CFDC5B
RGBrgb(207, 220, 91)
HSLhsl(66, 65%, 61%)
HSVhsv(66, 59%, 86%)
CMYKcmyk(5.9%, 0%, 58.6%, 13.7%)
CIE-LABlab(84.59, -21.48, 60.36)
CIE-LCHlch(84.59, 64.06, 109.59°)
OKLaboklab(85.97% -0.0633 0.139)
OKLCHoklch(85.97% 0.153 114.5)
XYZxyz(53.2148, 65.2080, 19.6786)
Luminance0.6521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC5B #685BDC
analogous
#DCA95B #CFDC5B #8EDC5B
triadic
#CFDC5B #5BCFDC #DC5BCF
tetradic
#CFDC5B #5BDCA9 #685BDC #DC5B8E
square
#CFDC5B #5BDCA9 #685BDC #DC5B8E
split-complementary
#CFDC5B #5B8EDC #A95BDC
monochromatic
#8F9B21 #BECE2C #CFDC5B #DEE78D #EDF2C0

Accessibility & contrast

On white

1.50
#CFDC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#CFDC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC5B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC5B#FFFFFF#000000##000000
##CFDC5B1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24C
Deuteranopia (green-blind)
#EAD463
Tritanopia (blue-blind)
#DBD0C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfdc5b;
/* rgb */ color: rgb(207, 220, 91);
/* oklch */ color: oklch(86.0% 0.153 114.5);
Tailwind
colors: {
  custom: {
    50: '#e0e68e',
    500: '#cfdc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc5b;
$custom-light: #e0e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc5b",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 66.047,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85974,
    "c": 0.15275,
    "h": 114.5
  },
  "luminance": 0.65207
}

Semantic roles & 50–950 ramp

primary
#CFDC5B
secondary
#463C9F
accent
#19CD2B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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