#CFCC3D#CFCC3D

#CFCC3D is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.158 H 108.2°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CFCC3D
RGBrgb(207, 204, 61)
HSLhsl(59, 60%, 53%)
HSVhsv(59, 71%, 81%)
CMYKcmyk(0%, 1.4%, 70.5%, 18.8%)
CIE-LABlab(80.06, -15.42, 67.55)
CIE-LCHlch(80.06, 69.29, 102.86°)
OKLaboklab(82.28% -0.0493 0.1498)
OKLCHoklch(82.28% 0.158 108.2)
XYZxyz(48.1691, 56.7896, 12.8381)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC3D #3D40CF
analogous
#CF833D #CFCC3D #89CF3D
triadic
#CFCC3D #3DCFCC #CC3DCF
tetradic
#CFCC3D #3DCF83 #3D40CF #CF3D89
square
#CFCC3D #3DCF83 #3D40CF #CF3D89
split-complementary
#CFCC3D #3D89CF #833DCF
monochromatic
#75731D #A6A329 #CFCC3D #DBD96E #E7E69F

Accessibility & contrast

On white

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

On black

12.36
#CFCC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC3D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC3D#FFFFFF#000000##000000
##CFCC3D1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC424
Deuteranopia (green-blind)
#DFC947
Tritanopia (blue-blind)
#DEBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcc3d;
/* rgb */ color: rgb(207, 204, 61);
/* oklch */ color: oklch(82.3% 0.158 108.2);
Tailwind
colors: {
  custom: {
    50: '#e1db7c',
    500: '#cfcc3d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc3d;
$custom-light: #e1db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc3d",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 58.767,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82282,
    "c": 0.15767,
    "h": 108.2
  },
  "luminance": 0.56788
}

Semantic roles & 50–950 ramp

primary
#CFCC3D
secondary
#33347D
accent
#48E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFCC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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