#CFCF56#CFCF56

#CFCF56 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.143 H 109.1°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CFCF56
RGBrgb(207, 207, 86)
HSLhsl(60, 56%, 57%)
HSVhsv(60, 58%, 81%)
CMYKcmyk(0%, 0%, 58.5%, 18.8%)
CIE-LABlab(81.05, -15.44, 58.62)
CIE-LCHlch(81.05, 60.62, 104.75°)
OKLaboklab(83.13% -0.0467 0.1347)
OKLCHoklch(83.13% 0.143 109.1)
XYZxyz(49.7261, 58.5643, 17.4869)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF56 #5656CF
analogous
#CF9356 #CFCF56 #93CF56
triadic
#CFCF56 #56CFCF #CF56CF
tetradic
#CFCF56 #56CF93 #5656CF #CF5693
square
#CFCF56 #56CF93 #5656CF #CF5693
split-complementary
#CFCF56 #5693CF #9356CF
monochromatic
#858526 #B5B533 #CFCF56 #DDDD86 #EAEAB5

Accessibility & contrast

On white

1.65
#CFCF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CFCF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF56
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF56#FFFFFF#000000##000000
##CFCF561.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC748
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#DCC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf56;
/* rgb */ color: rgb(207, 207, 86);
/* oklch */ color: oklch(83.1% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0dd8a',
    500: '#cfcf56',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf56;
$custom-light: #e0dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf56",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83132,
    "c": 0.14258,
    "h": 109.1
  },
  "luminance": 0.58563
}

Semantic roles & 50–950 ramp

primary
#CFCF56
secondary
#3D3D8C
accent
#49DF49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCF56

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

Preview Lab → · Contrast checker → · Palette generator →

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