#CFC565#CFC565

#CFC565 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.119 H 103.3°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CFC565
RGBrgb(207, 197, 101)
HSLhsl(54, 52%, 60%)
HSVhsv(54, 51%, 81%)
CMYKcmyk(0%, 4.8%, 51.2%, 18.8%)
CIE-LABlab(78.54, -9.20, 48.88)
CIE-LCHlch(78.54, 49.74, 100.66°)
OKLaboklab(81.18% -0.0274 0.1154)
OKLCHoklch(81.18% 0.119 103.3)
XYZxyz(48.0487, 54.1390, 20.2283)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC565 #656FCF
analogous
#CF9065 #CFC565 #A4CF65
triadic
#CFC565 #65CFC5 #C565CF
tetradic
#CFC565 #65CF90 #656FCF #CF65A4
square
#CFC565 #65CF90 #656FCF #CF65A4
split-complementary
#CFC565 #65A4CF #9065CF
monochromatic
#8D842C #BCB03B #CFC565 #DED794 #ECE8C2

Accessibility & contrast

On white

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

On black

11.83
#CFC565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC565
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC565#FFFFFF#000000##000000
##CFC5651.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF5C
Deuteranopia (green-blind)
#D7C569
Tritanopia (blue-blind)
#DCBAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc565;
/* rgb */ color: rgb(207, 197, 101);
/* oklch */ color: oklch(81.2% 0.119 103.3);
Tailwind
colors: {
  custom: {
    50: '#e0d693',
    500: '#cfc565',
    950: '#000000',
  },
}
SCSS
$custom: #cfc565;
$custom-light: #e0d693;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc565",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 101
  },
  "hsl": {
    "h": 54.34,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81184,
    "c": 0.11862,
    "h": 103.3
  },
  "luminance": 0.54137
}

Semantic roles & 50–950 ramp

primary
#CFC565
secondary
#444C94
accent
#34C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC565

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

Preview Lab → · Contrast checker → · Palette generator →

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