#CFC64D#CFC64D

#CFC64D is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.141 H 105.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CFC64D
RGBrgb(207, 198, 77)
HSLhsl(56, 58%, 56%)
HSVhsv(56, 63%, 81%)
CMYKcmyk(0%, 4.3%, 62.8%, 18.8%)
CIE-LABlab(78.57, -11.51, 59.79)
CIE-LCHlch(78.57, 60.88, 100.89°)
OKLaboklab(81.13% -0.0366 0.1359)
OKLCHoklch(81.13% 0.141 105.1)
XYZxyz(47.2675, 54.1911, 14.9898)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC64D #4D56CF
analogous
#CF854D #CFC64D #97CF4D
triadic
#CFC64D #4DCFC6 #C64DCF
tetradic
#CFC64D #4DCF85 #4D56CF #CF4D97
square
#CFC64D #4DCF85 #4D56CF #CF4D97
split-complementary
#CFC64D #4D97CF #854DCF
monochromatic
#7F7922 #AFA72F #CFC64D #DCD57D #E9E5AD

Accessibility & contrast

On white

1.77
#CFC64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CFC64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC64D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC64D#FFFFFF#000000##000000
##CFC64D1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#DEB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc64d;
/* rgb */ color: rgb(207, 198, 77);
/* oklch */ color: oklch(81.1% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#e1d784',
    500: '#cfc64d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc64d;
$custom-light: #e1d784;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc64d",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 55.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81132,
    "c": 0.14078,
    "h": 105.1
  },
  "luminance": 0.54189
}

Semantic roles & 50–950 ramp

primary
#CFC64D
secondary
#393F87
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC64D

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

Preview Lab → · Contrast checker → · Palette generator →

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