#CFCD54#CFCD54

#CFCD54 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.142 H 108.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CFCD54
RGBrgb(207, 205, 84)
HSLhsl(59, 56%, 57%)
HSVhsv(59, 59%, 81%)
CMYKcmyk(0%, 1%, 59.4%, 18.8%)
CIE-LABlab(80.50, -14.57, 58.88)
CIE-LCHlch(80.50, 60.65, 103.90°)
OKLaboklab(82.69% -0.0445 0.135)
OKLCHoklch(82.69% 0.142 108.3)
XYZxyz(49.1652, 57.5695, 16.9080)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD54 #5456CF
analogous
#CF8F54 #CFCD54 #94CF54
triadic
#CFCD54 #54CFCD #CD54CF
tetradic
#CFCD54 #54CF8F #5456CF #CF5494
square
#CFCD54 #54CF8F #5456CF #CF5494
split-complementary
#CFCD54 #5494CF #8F54CF
monochromatic
#848225 #B3B132 #CFCD54 #DCDB84 #EAE9B4

Accessibility & contrast

On white

1.68
#CFCD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#CFCD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD54
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD54#FFFFFF#000000##000000
##CFCD541.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC546
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#DDC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd54;
/* rgb */ color: rgb(207, 205, 84);
/* oklch */ color: oklch(82.7% 0.142 108.3);
Tailwind
colors: {
  custom: {
    50: '#e0dc89',
    500: '#cfcd54',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd54;
$custom-light: #e0dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd54",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 59.024,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82685,
    "c": 0.14215,
    "h": 108.3
  },
  "luminance": 0.57568
}

Semantic roles & 50–950 ramp

primary
#CFCD54
secondary
#3C3E8B
accent
#4BDF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD54

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

Preview Lab → · Contrast checker → · Palette generator →

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