#CFCF55#CFCF55

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

Color values

HEX#CFCF55
RGBrgb(207, 207, 85)
HSLhsl(60, 56%, 57%)
HSVhsv(60, 59%, 81%)
CMYKcmyk(0%, 0%, 58.9%, 18.8%)
CIE-LABlab(81.04, -15.51, 59.04)
CIE-LCHlch(81.04, 61.04, 104.72°)
OKLaboklab(83.12% -0.047 0.1355)
OKLCHoklch(83.12% 0.143 109.2)
XYZxyz(49.6861, 58.5483, 17.2762)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF55 #5555CF
analogous
#CF9255 #CFCF55 #92CF55
triadic
#CFCF55 #55CFCF #CF55CF
tetradic
#CFCF55 #55CF92 #5555CF #CF5592
square
#CFCF55 #55CF92 #5555CF #CF5592
split-complementary
#CFCF55 #5592CF #9255CF
monochromatic
#848425 #B4B433 #CFCF55 #DCDC85 #EAEAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF55#FFFFFF#000000##000000
##CFCF551.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)
#DEC747
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#DCC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf55;
/* rgb */ color: rgb(207, 207, 85);
/* oklch */ color: oklch(83.1% 0.143 109.2);
Tailwind
colors: {
  custom: {
    50: '#e0dd8a',
    500: '#cfcf55',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf55;
$custom-light: #e0dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf55",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83122,
    "c": 0.14341,
    "h": 109.2
  },
  "luminance": 0.58547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF55

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

Preview Lab → · Contrast checker → · Palette generator →

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