#CFD166#CFD166

#CFD166 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.130 H 109.9°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CFD166
RGBrgb(207, 209, 102)
HSLhsl(61, 54%, 61%)
HSVhsv(61, 51%, 82%)
CMYKcmyk(1%, 0%, 51.2%, 18%)
CIE-LABlab(81.74, -15.19, 52.18)
CIE-LCHlch(81.74, 54.35, 106.23°)
OKLaboklab(83.74% -0.0444 0.1227)
OKLCHoklch(83.74% 0.13 109.9)
XYZxyz(50.9320, 59.8268, 21.4325)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD166 #6866D1
analogous
#D19D66 #CFD166 #99D166
triadic
#CFD166 #66CFD1 #D166CF
tetradic
#CFD166 #66D19D #6866D1 #D16699
square
#CFD166 #66D19D #6866D1 #D16699
split-complementary
#CFD166 #6699D1 #9D66D1
monochromatic
#8F912C #BEC03A #CFD166 #DEDF95 #EDEDC4

Accessibility & contrast

On white

1.62
#CFD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#CFD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD166
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD166#FFFFFF#000000##000000
##CFD1661.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#E0CD6C
Tritanopia (blue-blind)
#DBC6B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd166;
/* rgb */ color: rgb(207, 209, 102);
/* oklch */ color: oklch(83.7% 0.130 109.9);
Tailwind
colors: {
  custom: {
    50: '#e0de94',
    500: '#cfd166',
    950: '#000000',
  },
}
SCSS
$custom: #cfd166;
$custom-light: #e0de94;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd166",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 61.121,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83735,
    "c": 0.13046,
    "h": 109.9
  },
  "luminance": 0.59826
}

Semantic roles & 50–950 ramp

primary
#CFD166
secondary
#464497
accent
#24C127
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFD166

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

Preview Lab → · Contrast checker → · Palette generator →

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