#CFD168#CFD168

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

Color values

HEX#CFD168
RGBrgb(207, 209, 104)
HSLhsl(61, 53%, 61%)
HSVhsv(61, 50%, 82%)
CMYKcmyk(1%, 0%, 50.2%, 18%)
CIE-LABlab(81.77, -15.02, 51.27)
CIE-LCHlch(81.77, 53.43, 106.33°)
OKLaboklab(83.76% -0.0437 0.1209)
OKLCHoklch(83.76% 0.129 109.9)
XYZxyz(51.0324, 59.8670, 21.9612)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD168 #6A68D1
analogous
#D19F68 #CFD168 #9BD168
triadic
#CFD168 #68CFD1 #D168CF
tetradic
#CFD168 #68D19F #6A68D1 #D1689B
square
#CFD168 #68D19F #6A68D1 #D1689B
split-complementary
#CFD168 #689BD1 #9F68D1
monochromatic
#90922D #BEC13B #CFD168 #DEDF97 #EDEEC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD168#FFFFFF#000000##000000
##CFD1681.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)
#DFC95E
Deuteranopia (green-blind)
#E0CD6D
Tritanopia (blue-blind)
#DBC6B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd168;
/* rgb */ color: rgb(207, 209, 104);
/* oklch */ color: oklch(83.8% 0.129 109.9);
Tailwind
colors: {
  custom: {
    50: '#e0de96',
    500: '#cfd168',
    950: '#000000',
  },
}
SCSS
$custom: #cfd168;
$custom-light: #e0de96;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd168",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 61.143,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83759,
    "c": 0.12855,
    "h": 109.9
  },
  "luminance": 0.59866
}

Semantic roles & 50–950 ramp

primary
#CFD168
secondary
#474598
accent
#25C128
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFD168

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

Preview Lab → · Contrast checker → · Palette generator →

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