#CFD062#CFD062

#CFD062 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.5% C 0.133 H 109.4°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CFD062
RGBrgb(207, 208, 98)
HSLhsl(61, 54%, 60%)
HSVhsv(61, 53%, 82%)
CMYKcmyk(0.5%, 0%, 52.9%, 18.4%)
CIE-LABlab(81.43, -15.02, 53.68)
CIE-LCHlch(81.43, 55.74, 105.64°)
OKLaboklab(83.47% -0.0443 0.1255)
OKLCHoklch(83.47% 0.133 109.4)
XYZxyz(50.4939, 59.2602, 20.3314)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD062 #6362D0
analogous
#D09A62 #CFD062 #98D062
triadic
#CFD062 #62CFD0 #D062CF
tetradic
#CFD062 #62D09A #6362D0 #D06298
square
#CFD062 #62D09A #6362D0 #D06298
split-complementary
#CFD062 #6298D0 #9A62D0
monochromatic
#8C8D2A #BBBC38 #CFD062 #DDDE91 #ECECC0

Accessibility & contrast

On white

1.63
#CFD062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CFD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD062
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD062#FFFFFF#000000##000000
##CFD0621.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#E0CC68
Tritanopia (blue-blind)
#DCC5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd062;
/* rgb */ color: rgb(207, 208, 98);
/* oklch */ color: oklch(83.5% 0.133 109.4);
Tailwind
colors: {
  custom: {
    50: '#e0de92',
    500: '#cfd062',
    950: '#000000',
  },
}
SCSS
$custom: #cfd062;
$custom-light: #e0de92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd062",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 60.545,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.83474,
    "c": 0.13311,
    "h": 109.4
  },
  "luminance": 0.59259
}

Semantic roles & 50–950 ramp

primary
#CFD062
secondary
#434394
accent
#4BDD4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD062

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

Preview Lab → · Contrast checker → · Palette generator →

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