#CFC645#CFC645

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

Color values

HEX#CFC645
RGBrgb(207, 198, 69)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 67%, 81%)
CMYKcmyk(0%, 4.3%, 66.7%, 18.8%)
CIE-LABlab(78.51, -11.98, 62.99)
CIE-LCHlch(78.51, 64.12, 100.77°)
OKLaboklab(81.06% -0.0388 0.1415)
OKLCHoklch(81.06% 0.147 105.3)
XYZxyz(47.0022, 54.0849, 13.5926)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC645 #454ECF
analogous
#CF8145 #CFC645 #93CF45
triadic
#CFC645 #45CFC6 #C645CF
tetradic
#CFC645 #45CF81 #454ECF #CF4593
square
#CFC645 #45CF81 #454ECF #CF4593
split-complementary
#CFC645 #4593CF #8145CF
monochromatic
#7A7420 #ABA22C #CFC645 #DCD576 #E8E4A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC645#FFFFFF#000000##000000
##CFC6451.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)
#D7BF33
Deuteranopia (green-blind)
#DAC54D
Tritanopia (blue-blind)
#DEB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc645;
/* rgb */ color: rgb(207, 198, 69);
/* oklch */ color: oklch(81.1% 0.147 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1d780',
    500: '#cfc645',
    950: '#000000',
  },
}
SCSS
$custom: #cfc645;
$custom-light: #e1d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc645",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 56.087,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81063,
    "c": 0.14671,
    "h": 105.3
  },
  "luminance": 0.54083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC645

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

Preview Lab → · Contrast checker → · Palette generator →

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