#CFDB30#CFDB30

#CFDB30 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#CFDB30
RGBrgb(207, 219, 48)
HSLhsl(64, 70%, 52%)
HSVhsv(64, 78%, 86%)
CMYKcmyk(5.5%, 0%, 78.1%, 14.1%)
CIE-LABlab(84.04, -23.32, 75.39)
CIE-LCHlch(84.04, 78.91, 107.19°)
OKLaboklab(85.44% -0.0724 0.1641)
OKLCHoklch(85.44% 0.179 113.8)
XYZxyz(51.5988, 64.1429, 12.4584)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB30 #3C30DB
analogous
#DB9230 #CFDB30 #79DB30
triadic
#CFDB30 #30CFDB #DB30CF
tetradic
#CFDB30 #30DB92 #3C30DB #DB3079
square
#CFDB30 #30DB92 #3C30DB #DB3079
split-complementary
#CFDB30 #3079DB #9230DB
monochromatic
#747B15 #A5AF1E #CFDB30 #DBE464 #E7ED98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFDB30#FFFFFF#000000##000000
##CFDB301.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)
#EBD340
Tritanopia (blue-blind)
#DDCEBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb30;
/* rgb */ color: rgb(207, 219, 48);
/* oklch */ color: oklch(85.4% 0.179 113.8);
Tailwind
colors: {
  custom: {
    50: '#e2e677',
    500: '#cfdb30',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb30;
$custom-light: #e2e677;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb30",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 48
  },
  "hsl": {
    "h": 64.211,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.85443,
    "c": 0.17938,
    "h": 113.8
  },
  "luminance": 0.64142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFDB30

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

Preview Lab → · Contrast checker → · Palette generator →

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