#CFCA66#CFCA66

#CFCA66 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.123 H 106.2°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CFCA66
RGBrgb(207, 202, 102)
HSLhsl(57, 52%, 61%)
HSVhsv(57, 51%, 81%)
CMYKcmyk(0%, 2.4%, 50.7%, 18.8%)
CIE-LABlab(79.88, -11.67, 49.99)
CIE-LCHlch(79.88, 51.33, 103.14°)
OKLaboklab(82.25% -0.0343 0.1179)
OKLCHoklch(82.25% 0.123 106.2)
XYZxyz(49.2522, 56.4672, 20.8726)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA66 #666BCF
analogous
#CF9566 #CFCA66 #9FCF66
triadic
#CFCA66 #66CFCA #CA66CF
tetradic
#CFCA66 #66CF95 #666BCF #CF669F
square
#CFCA66 #66CF95 #666BCF #CF669F
split-complementary
#CFCA66 #669FCF #9566CF
monochromatic
#8E892D #BDB63B #CFCA66 #DEDA95 #ECEAC3

Accessibility & contrast

On white

1.71
#CFCA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CFCA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA66
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA66#FFFFFF#000000##000000
##CFCA661.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C45D
Deuteranopia (green-blind)
#DBC86B
Tritanopia (blue-blind)
#DCBFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca66;
/* rgb */ color: rgb(207, 202, 102);
/* oklch */ color: oklch(82.3% 0.123 106.2);
Tailwind
colors: {
  custom: {
    50: '#e0d994',
    500: '#cfca66',
    950: '#000000',
  },
}
SCSS
$custom: #cfca66;
$custom-light: #e0d994;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca66",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 57.143,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8225,
    "c": 0.12281,
    "h": 106.2
  },
  "luminance": 0.56466
}

Semantic roles & 50–950 ramp

primary
#CFCA66
secondary
#454994
accent
#2DC026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFCA66

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

Preview Lab → · Contrast checker → · Palette generator →

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