#CFCD62#CFCD62

#CFCD62 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.130 H 108.0°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CFCD62
RGBrgb(207, 205, 98)
HSLhsl(59, 53%, 60%)
HSVhsv(59, 53%, 81%)
CMYKcmyk(0%, 1%, 52.7%, 18.8%)
CIE-LABlab(80.63, -13.52, 52.75)
CIE-LCHlch(80.63, 54.46, 104.37°)
OKLaboklab(82.84% -0.04 0.1235)
OKLCHoklch(82.84% 0.13 108)
XYZxyz(49.7693, 57.8112, 20.0899)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD62 #6264CF
analogous
#CF9762 #CFCD62 #9BCF62
triadic
#CFCD62 #62CFCD #CD62CF
tetradic
#CFCD62 #62CF97 #6264CF #CF629B
square
#CFCD62 #62CF97 #6264CF #CF629B
split-complementary
#CFCD62 #629BCF #9762CF
monochromatic
#8C8A2B #BBB839 #CFCD62 #DDDC91 #ECEBC0

Accessibility & contrast

On white

1.67
#CFCD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CFCD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD62
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD62#FFFFFF#000000##000000
##CFCD621.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#DECA68
Tritanopia (blue-blind)
#DCC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd62;
/* rgb */ color: rgb(207, 205, 98);
/* oklch */ color: oklch(82.8% 0.130 108.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc92',
    500: '#cfcd62',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd62;
$custom-light: #e0dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd62",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 58.899,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82836,
    "c": 0.12984,
    "h": 108
  },
  "luminance": 0.5781
}

Semantic roles & 50–950 ramp

primary
#CFCD62
secondary
#434492
accent
#4EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCD62

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

Preview Lab → · Contrast checker → · Palette generator →

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