#CFC64C#CFC64C

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

Color values

HEX#CFC64C
RGBrgb(207, 198, 76)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 63%, 81%)
CMYKcmyk(0%, 4.3%, 63.3%, 18.8%)
CIE-LABlab(78.56, -11.57, 60.20)
CIE-LCHlch(78.56, 61.30, 100.88°)
OKLaboklab(81.12% -0.0369 0.1367)
OKLCHoklch(81.12% 0.142 105.1)
XYZxyz(47.2324, 54.1770, 14.8053)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC64C #4C55CF
analogous
#CF844C #CFC64C #96CF4C
triadic
#CFC64C #4CCFC6 #C64CCF
tetradic
#CFC64C #4CCF84 #4C55CF #CF4C96
square
#CFC64C #4CCF84 #4C55CF #CF4C96
split-complementary
#CFC64C #4C96CF #844CCF
monochromatic
#7F7822 #AFA62F #CFC64C #DCD57C #E9E5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC64C#FFFFFF#000000##000000
##CFC64C1.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)
#D6BF3D
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#DEB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc64c;
/* rgb */ color: rgb(207, 198, 76);
/* oklch */ color: oklch(81.1% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#e1d784',
    500: '#cfc64c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc64c;
$custom-light: #e1d784;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc64c",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 76
  },
  "hsl": {
    "h": 55.878,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81123,
    "c": 0.14155,
    "h": 105.1
  },
  "luminance": 0.54175
}

Semantic roles & 50–950 ramp

primary
#CFC64C
secondary
#393E86
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC64C

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

Preview Lab → · Contrast checker → · Palette generator →

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