#CFCD33#CFCD33

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

Color values

HEX#CFCD33
RGBrgb(207, 205, 51)
HSLhsl(59, 62%, 51%)
HSVhsv(59, 75%, 81%)
CMYKcmyk(0%, 1%, 75.4%, 18.8%)
CIE-LABlab(80.27, -16.35, 71.10)
CIE-LCHlch(80.27, 72.96, 102.95°)
OKLaboklab(82.43% -0.0528 0.1555)
OKLCHoklch(82.43% 0.164 108.7)
XYZxyz(48.1628, 57.1686, 11.6289)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD33 #3335CF
analogous
#CF7F33 #CFCD33 #83CF33
triadic
#CFCD33 #33CFCD #CD33CF
tetradic
#CFCD33 #33CF7F #3335CF #CF3383
square
#CFCD33 #33CF7F #3335CF #CF3383
split-complementary
#CFCD33 #3383CF #7F33CF
monochromatic
#6E6D1A #9F9E25 #CFCD33 #DBD965 #E6E596

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD33#FFFFFF#000000##000000
##CFCD331.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)
#DEC40A
Deuteranopia (green-blind)
#E0C940
Tritanopia (blue-blind)
#DEC0B0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd33;
/* rgb */ color: rgb(207, 205, 51);
/* oklch */ color: oklch(82.4% 0.164 108.7);
Tailwind
colors: {
  custom: {
    50: '#e2dc77',
    500: '#cfcd33',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd33;
$custom-light: #e2dc77;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd33",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 51
  },
  "hsl": {
    "h": 59.231,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.82434,
    "c": 0.16422,
    "h": 108.7
  },
  "luminance": 0.57167
}

Semantic roles & 50–950 ramp

primary
#CFCD33
secondary
#2F3077
accent
#45E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCD33

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

Preview Lab → · Contrast checker → · Palette generator →

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