#CFD268#CFD268

#CFD268 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.0% C 0.130 H 110.3°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#CFD268
RGBrgb(207, 210, 104)
HSLhsl(62, 54%, 62%)
HSVhsv(62, 50%, 82%)
CMYKcmyk(1.4%, 0%, 50.5%, 17.6%)
CIE-LABlab(82.03, -15.52, 51.59)
CIE-LCHlch(82.03, 53.87, 106.74°)
OKLaboklab(83.97% -0.0451 0.1216)
OKLCHoklch(83.97% 0.13 110.3)
XYZxyz(51.2785, 60.3592, 22.0433)
Luminance0.6036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD268 #6B68D2
analogous
#D2A068 #CFD268 #9AD268
triadic
#CFD268 #68CFD2 #D268CF
tetradic
#CFD268 #68D2A0 #6B68D2 #D2689A
square
#CFD268 #68D2A0 #6B68D2 #D2689A
split-complementary
#CFD268 #689AD2 #A068D2
monochromatic
#91942C #BFC33A #CFD268 #DEE097 #EDEEC6

Accessibility & contrast

On white

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

On black

13.07
#CFD268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD268
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD268#FFFFFF#000000##000000
##CFD2681.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd268;
/* rgb */ color: rgb(207, 210, 104);
/* oklch */ color: oklch(84.0% 0.130 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0df96',
    500: '#cfd268',
    950: '#000000',
  },
}
SCSS
$custom: #cfd268;
$custom-light: #e0df96;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd268",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 61.698,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83972,
    "c": 0.12967,
    "h": 110.3
  },
  "luminance": 0.60358
}

Semantic roles & 50–950 ramp

primary
#CFD268
secondary
#474599
accent
#24C228
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFD268

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

Preview Lab → · Contrast checker → · Palette generator →

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