#CFCF68#CFCF68

#CFCF68 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.126 H 108.9°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CFCF68
RGBrgb(207, 207, 104)
HSLhsl(60, 52%, 61%)
HSVhsv(60, 50%, 81%)
CMYKcmyk(0%, 0%, 49.8%, 18.8%)
CIE-LABlab(81.23, -14.02, 50.64)
CIE-LCHlch(81.23, 52.54, 105.47°)
OKLaboklab(83.33% -0.0408 0.1195)
OKLCHoklch(83.33% 0.126 108.9)
XYZxyz(50.5448, 58.8917, 21.7987)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF68 #6868CF
analogous
#CF9B68 #CFCF68 #9BCF68
triadic
#CFCF68 #68CFCF #CF68CF
tetradic
#CFCF68 #68CF9B #6868CF #CF689B
square
#CFCF68 #68CF9B #6868CF #CF689B
split-complementary
#CFCF68 #689BCF #9B68CF
monochromatic
#8F8F2D #BEBE3C #CFCF68 #DEDE96 #EDEDC5

Accessibility & contrast

On white

1.64
#CFCF68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CFCF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF68
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF68#FFFFFF#000000##000000
##CFCF681.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC85F
Deuteranopia (green-blind)
#DFCC6D
Tritanopia (blue-blind)
#DBC4B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf68;
/* rgb */ color: rgb(207, 207, 104);
/* oklch */ color: oklch(83.3% 0.126 108.9);
Tailwind
colors: {
  custom: {
    50: '#e0dd96',
    500: '#cfcf68',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf68;
$custom-light: #e0dd96;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf68",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83334,
    "c": 0.1263,
    "h": 108.9
  },
  "luminance": 0.58891
}

Semantic roles & 50–950 ramp

primary
#CFCF68
secondary
#464695
accent
#26BF26
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFCF68

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

Preview Lab → · Contrast checker → · Palette generator →

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