#CFDB31#CFDB31

#CFDB31 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.4% C 0.179 H 113.8°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#CFDB31
RGBrgb(207, 219, 49)
HSLhsl(64, 70%, 53%)
HSVhsv(64, 78%, 86%)
CMYKcmyk(5.5%, 0%, 77.6%, 14.1%)
CIE-LABlab(84.04, -23.29, 75.11)
CIE-LCHlch(84.04, 78.64, 107.23°)
OKLaboklab(85.45% -0.0722 0.1637)
OKLCHoklch(85.45% 0.179 113.8)
XYZxyz(51.6197, 64.1513, 12.5683)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB31 #3D31DB
analogous
#DB9231 #CFDB31 #7ADB31
triadic
#CFDB31 #31CFDB #DB31CF
tetradic
#CFDB31 #31DB92 #3D31DB #DB317A
square
#CFDB31 #31DB92 #3D31DB #DB317A
split-complementary
#CFDB31 #317ADB #9231DB
monochromatic
#757C16 #A6B01F #CFDB31 #DBE465 #E7ED99

Accessibility & contrast

On white

1.52
#CFDB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#CFDB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB31
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB31#FFFFFF#000000##000000
##CFDB311.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD000
Deuteranopia (green-blind)
#EBD341
Tritanopia (blue-blind)
#DDCEBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb31;
/* rgb */ color: rgb(207, 219, 49);
/* oklch */ color: oklch(85.4% 0.179 113.8);
Tailwind
colors: {
  custom: {
    50: '#e2e678',
    500: '#cfdb31',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb31;
$custom-light: #e2e678;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb31",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 49
  },
  "hsl": {
    "h": 64.235,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.85448,
    "c": 0.17892,
    "h": 113.8
  },
  "luminance": 0.6415
}

Semantic roles & 50–950 ramp

primary
#CFDB31
secondary
#332D83
accent
#3BED47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFDB31

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

Preview Lab → · Contrast checker → · Palette generator →

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