#CFC646#CFC646

#CFC646 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.146 H 105.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CFC646
RGBrgb(207, 198, 70)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 4.3%, 66.2%, 18.8%)
CIE-LABlab(78.52, -11.93, 62.60)
CIE-LCHlch(78.52, 63.73, 100.79°)
OKLaboklab(81.07% -0.0385 0.1408)
OKLCHoklch(81.07% 0.146 105.3)
XYZxyz(47.0335, 54.0975, 13.7575)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC646 #464FCF
analogous
#CF8146 #CFC646 #94CF46
triadic
#CFC646 #46CFC6 #C646CF
tetradic
#CFC646 #46CF81 #464FCF #CF4694
square
#CFC646 #46CF81 #464FCF #CF4694
split-complementary
#CFC646 #4694CF #8146CF
monochromatic
#7B7520 #ABA32C #CFC646 #DCD577 #E8E4A7

Accessibility & contrast

On white

1.78
#CFC646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CFC646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC646
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC646#FFFFFF#000000##000000
##CFC6461.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF34
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#DEB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc646;
/* rgb */ color: rgb(207, 198, 70);
/* oklch */ color: oklch(81.1% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1d780',
    500: '#cfc646',
    950: '#000000',
  },
}
SCSS
$custom: #cfc646;
$custom-light: #e1d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc646",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 56.058,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81072,
    "c": 0.146,
    "h": 105.3
  },
  "luminance": 0.54096
}

Semantic roles & 50–950 ramp

primary
#CFC646
secondary
#363B83
accent
#50E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC646

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

Preview Lab → · Contrast checker → · Palette generator →

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