#CFC641#CFC641

#CFC641 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.149 H 105.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CFC641
RGBrgb(207, 198, 65)
HSLhsl(56, 60%, 53%)
HSVhsv(56, 69%, 81%)
CMYKcmyk(0%, 4.3%, 68.6%, 18.8%)
CIE-LABlab(78.48, -12.20, 64.52)
CIE-LCHlch(78.48, 65.66, 100.71°)
OKLaboklab(81.03% -0.0398 0.1441)
OKLCHoklch(81.03% 0.149 105.4)
XYZxyz(46.8822, 54.0369, 12.9606)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC641 #414ACF
analogous
#CF7F41 #CFC641 #91CF41
triadic
#CFC641 #41CFC6 #C641CF
tetradic
#CFC641 #41CF7F #414ACF #CF4191
square
#CFC641 #41CF7F #414ACF #CF4191
split-complementary
#CFC641 #4191CF #7F41CF
monochromatic
#77721E #A8A02B #CFC641 #DBD572 #E8E3A3

Accessibility & contrast

On white

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

On black

11.81
#CFC641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC641
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC641#FFFFFF#000000##000000
##CFC6411.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#DEB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc641;
/* rgb */ color: rgb(207, 198, 65);
/* oklch */ color: oklch(81.0% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e1d77d',
    500: '#cfc641',
    950: '#000000',
  },
}
SCSS
$custom: #cfc641;
$custom-light: #e1d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc641",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 56.197,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81032,
    "c": 0.14945,
    "h": 105.4
  },
  "luminance": 0.54035
}

Semantic roles & 50–950 ramp

primary
#CFC641
secondary
#343980
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC641

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

Preview Lab → · Contrast checker → · Palette generator →

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