#CFCC2D#CFCC2D

#CFCC2D is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.166 H 108.4°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CFCC2D
RGBrgb(207, 204, 45)
HSLhsl(59, 64%, 49%)
HSVhsv(59, 78%, 81%)
CMYKcmyk(0%, 1.4%, 78.3%, 18.8%)
CIE-LABlab(79.98, -16.08, 72.62)
CIE-LCHlch(79.98, 74.38, 102.48°)
OKLaboklab(82.19% -0.0525 0.1577)
OKLCHoklch(82.19% 0.166 108.4)
XYZxyz(47.8006, 56.6422, 10.8972)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC2D #2D30CF
analogous
#CF7B2D #CFCC2D #81CF2D
triadic
#CFCC2D #2DCFCC #CC2DCF
tetradic
#CFCC2D #2DCF7B #2D30CF #CF2D81
square
#CFCC2D #2DCF7B #2D30CF #CF2D81
split-complementary
#CFCC2D #2D81CF #7B2DCF
monochromatic
#6A6917 #9D9A22 #CFCC2D #DCDA5D #E7E590

Accessibility & contrast

On white

1.70
#CFCC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CFCC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC2D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC2D#FFFFFF#000000##000000
##CFCC2D1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#E0C93B
Tritanopia (blue-blind)
#DEBEAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcc2d;
/* rgb */ color: rgb(207, 204, 45);
/* oklch */ color: oklch(82.2% 0.166 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2db74',
    500: '#cfcc2d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc2d;
$custom-light: #e2db74;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc2d",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 58.889,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.82189,
    "c": 0.16619,
    "h": 108.4
  },
  "luminance": 0.56641
}

Semantic roles & 50–950 ramp

primary
#CFCC2D
secondary
#2C2D74
accent
#44E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFCC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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