#CFC647#CFC647

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

Color values

HEX#CFC647
RGBrgb(207, 198, 71)
HSLhsl(56, 59%, 55%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 4.3%, 65.7%, 18.8%)
CIE-LABlab(78.53, -11.87, 62.21)
CIE-LCHlch(78.53, 63.33, 100.80°)
OKLaboklab(81.08% -0.0382 0.1402)
OKLCHoklch(81.08% 0.145 105.3)
XYZxyz(47.0653, 54.1102, 13.9251)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC647 #4750CF
analogous
#CF8247 #CFC647 #94CF47
triadic
#CFC647 #47CFC6 #C647CF
tetradic
#CFC647 #47CF82 #4750CF #CF4794
square
#CFC647 #47CF82 #4750CF #CF4794
split-complementary
#CFC647 #4794CF #8247CF
monochromatic
#7B7520 #ACA42D #CFC647 #DCD578 #E8E4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC647#FFFFFF#000000##000000
##CFC6471.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)
#D7BF36
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#DEB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc647;
/* rgb */ color: rgb(207, 198, 71);
/* oklch */ color: oklch(81.1% 0.145 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1d781',
    500: '#cfc647',
    950: '#000000',
  },
}
SCSS
$custom: #cfc647;
$custom-light: #e1d781;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc647",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 56.029,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8108,
    "c": 0.14529,
    "h": 105.3
  },
  "luminance": 0.54108
}

Semantic roles & 50–950 ramp

primary
#CFC647
secondary
#373C83
accent
#50E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC647

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

Preview Lab → · Contrast checker → · Palette generator →

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