#CFD266#CFD266

#CFD266 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.132 H 110.4°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#CFD266
RGBrgb(207, 210, 102)
HSLhsl(62, 55%, 61%)
HSVhsv(62, 51%, 82%)
CMYKcmyk(1.4%, 0%, 51.4%, 17.6%)
CIE-LABlab(82.01, -15.69, 52.50)
CIE-LCHlch(82.01, 54.79, 106.64°)
OKLaboklab(83.95% -0.0458 0.1234)
OKLCHoklch(83.95% 0.132 110.4)
XYZxyz(51.1781, 60.3190, 21.5146)
Luminance0.6032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD266 #6966D2
analogous
#D29F66 #CFD266 #99D266
triadic
#CFD266 #66CFD2 #D266CF
tetradic
#CFD266 #66D29F #6966D2 #D26699
square
#CFD266 #66D29F #6966D2 #D26699
split-complementary
#CFD266 #6699D2 #9F66D2
monochromatic
#90932B #BEC239 #CFD266 #DEE095 #EDEEC5

Accessibility & contrast

On white

1.61
#CFD266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#CFD266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD266
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD266#FFFFFF#000000##000000
##CFD2661.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E1CE6C
Tritanopia (blue-blind)
#DBC7BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd266;
/* rgb */ color: rgb(207, 210, 102);
/* oklch */ color: oklch(83.9% 0.132 110.4);
Tailwind
colors: {
  custom: {
    50: '#e0df94',
    500: '#cfd266',
    950: '#000000',
  },
}
SCSS
$custom: #cfd266;
$custom-light: #e0df94;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd266",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 61.667,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83948,
    "c": 0.13159,
    "h": 110.4
  },
  "luminance": 0.60318
}

Semantic roles & 50–950 ramp

primary
#CFD266
secondary
#464498
accent
#23C228
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFD266

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

Preview Lab → · Contrast checker → · Palette generator →

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