#CFCF62#CFCF62

#CFCF62 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.132 H 109.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CFCF62
RGBrgb(207, 207, 98)
HSLhsl(60, 53%, 60%)
HSVhsv(60, 53%, 81%)
CMYKcmyk(0%, 0%, 52.7%, 18.8%)
CIE-LABlab(81.17, -14.52, 53.37)
CIE-LCHlch(81.17, 55.31, 105.22°)
OKLaboklab(83.26% -0.0429 0.1249)
OKLCHoklch(83.26% 0.132 109)
XYZxyz(50.2508, 58.7741, 20.2504)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF62 #6262CF
analogous
#CF9962 #CFCF62 #99CF62
triadic
#CFCF62 #62CFCF #CF62CF
tetradic
#CFCF62 #62CF99 #6262CF #CF6299
square
#CFCF62 #62CF99 #6262CF #CF6299
split-complementary
#CFCF62 #6299CF #9962CF
monochromatic
#8C8C2B #BBBB39 #CFCF62 #DDDD91 #ECECC0

Accessibility & contrast

On white

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

On black

12.75
#CFCF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF62
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF62#FFFFFF#000000##000000
##CFCF621.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC757
Deuteranopia (green-blind)
#DFCB68
Tritanopia (blue-blind)
#DCC4B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf62;
/* rgb */ color: rgb(207, 207, 98);
/* oklch */ color: oklch(83.3% 0.132 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0dd92',
    500: '#cfcf62',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf62;
$custom-light: #e0dd92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf62",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83261,
    "c": 0.13201,
    "h": 109
  },
  "luminance": 0.58773
}

Semantic roles & 50–950 ramp

primary
#CFCF62
secondary
#434392
accent
#4BDD4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFCF62

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

Preview Lab → · Contrast checker → · Palette generator →

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