#CFCE54#CFCE54

#CFCE54 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.143 H 108.7°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CFCE54
RGBrgb(207, 206, 84)
HSLhsl(60, 56%, 57%)
HSVhsv(60, 59%, 81%)
CMYKcmyk(0%, 0.5%, 59.4%, 18.8%)
CIE-LABlab(80.77, -15.08, 59.17)
CIE-LCHlch(80.77, 61.06, 104.29°)
OKLaboklab(82.9% -0.0459 0.1356)
OKLCHoklch(82.9% 0.143 108.7)
XYZxyz(49.4052, 58.0495, 16.9879)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE54 #5455CF
analogous
#CF9154 #CFCE54 #93CF54
triadic
#CFCE54 #54CFCE #CE54CF
tetradic
#CFCE54 #54CF91 #5455CF #CF5493
square
#CFCE54 #54CF91 #5455CF #CF5493
split-complementary
#CFCE54 #5493CF #9154CF
monochromatic
#848325 #B3B232 #CFCE54 #DCDC84 #EAE9B4

Accessibility & contrast

On white

1.67
#CFCE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#CFCE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE54
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE54#FFFFFF#000000##000000
##CFCE541.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#DFCB5B
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce54;
/* rgb */ color: rgb(207, 206, 84);
/* oklch */ color: oklch(82.9% 0.143 108.7);
Tailwind
colors: {
  custom: {
    50: '#e0dc89',
    500: '#cfce54',
    950: '#000000',
  },
}
SCSS
$custom: #cfce54;
$custom-light: #e0dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce54",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 59.512,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.14318,
    "h": 108.7
  },
  "luminance": 0.58048
}

Semantic roles & 50–950 ramp

primary
#CFCE54
secondary
#3C3D8B
accent
#4ADF48
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE54

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

Preview Lab → · Contrast checker → · Palette generator →

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