#CFCD30#CFCD30

#CFCD30 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.166 H 108.8°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CFCD30
RGBrgb(207, 205, 48)
HSLhsl(59, 62%, 50%)
HSVhsv(59, 77%, 81%)
CMYKcmyk(0%, 1%, 76.8%, 18.8%)
CIE-LABlab(80.26, -16.47, 72.00)
CIE-LCHlch(80.26, 73.86, 102.88°)
OKLaboklab(82.42% -0.0533 0.1569)
OKLCHoklch(82.42% 0.166 108.8)
XYZxyz(48.0988, 57.1430, 11.2918)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD30 #3032CF
analogous
#CF7D30 #CFCD30 #82CF30
triadic
#CFCD30 #30CFCD #CD30CF
tetradic
#CFCD30 #30CF7D #3032CF #CF3082
square
#CFCD30 #30CF7D #3032CF #CF3082
split-complementary
#CFCD30 #3082CF #7D30CF
monochromatic
#6C6B19 #9D9C24 #CFCD30 #DBD962 #E6E593

Accessibility & contrast

On white

1.69
#CFCD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CFCD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD30
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD30#FFFFFF#000000##000000
##CFCD301.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#E0C93E
Tritanopia (blue-blind)
#DEBFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd30;
/* rgb */ color: rgb(207, 205, 48);
/* oklch */ color: oklch(82.4% 0.166 108.8);
Tailwind
colors: {
  custom: {
    50: '#e2db76',
    500: '#cfcd30',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd30;
$custom-light: #e2db76;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd30",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 48
  },
  "hsl": {
    "h": 59.245,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.82418,
    "c": 0.16571,
    "h": 108.8
  },
  "luminance": 0.57141
}

Semantic roles & 50–950 ramp

primary
#CFCD30
secondary
#2E2F75
accent
#44E542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CFCD30

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

Preview Lab → · Contrast checker → · Palette generator →

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