#CFC466#CFC466

#CFC466 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.117 H 102.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CFC466
RGBrgb(207, 196, 102)
HSLhsl(54, 52%, 61%)
HSVhsv(54, 51%, 81%)
CMYKcmyk(0%, 5.3%, 50.7%, 18.8%)
CIE-LABlab(78.29, -8.61, 48.10)
CIE-LCHlch(78.29, 48.87, 100.14°)
OKLaboklab(80.99% -0.0255 0.1138)
OKLCHoklch(80.99% 0.117 102.6)
XYZxyz(47.8717, 53.7061, 20.4124)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC466 #6671CF
analogous
#CF8F66 #CFC466 #A6CF66
triadic
#CFC466 #66CFC4 #C466CF
tetradic
#CFC466 #66CF8F #6671CF #CF66A6
square
#CFC466 #66CF8F #6671CF #CF66A6
split-complementary
#CFC466 #66A6CF #8F66CF
monochromatic
#8E842D #BDAF3B #CFC466 #DED695 #ECE8C3

Accessibility & contrast

On white

1.79
#CFC466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CFC466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC466
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC466#FFFFFF#000000##000000
##CFC4661.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#DCB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc466;
/* rgb */ color: rgb(207, 196, 102);
/* oklch */ color: oklch(81.0% 0.117 102.6);
Tailwind
colors: {
  custom: {
    50: '#e0d594',
    500: '#cfc466',
    950: '#000000',
  },
}
SCSS
$custom: #cfc466;
$custom-light: #e0d594;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc466",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 102
  },
  "hsl": {
    "h": 53.714,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80987,
    "c": 0.11664,
    "h": 102.6
  },
  "luminance": 0.53705
}

Semantic roles & 50–950 ramp

primary
#CFC466
secondary
#454D94
accent
#36C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC466

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

Preview Lab → · Contrast checker → · Palette generator →

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