#CFD862#CFD862

#CFD862 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.142 H 113.0°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#CFD862
RGBrgb(207, 216, 98)
HSLhsl(65, 60%, 62%)
HSVhsv(65, 55%, 85%)
CMYKcmyk(4.2%, 0%, 54.6%, 15.3%)
CIE-LABlab(83.58, -18.99, 56.14)
CIE-LCHlch(83.58, 59.26, 108.69°)
OKLaboklab(85.19% -0.0556 0.1308)
OKLCHoklch(85.19% 0.142 113)
XYZxyz(52.4937, 63.2599, 20.9980)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD862 #6B62D8
analogous
#D8A662 #CFD862 #94D862
triadic
#CFD862 #62CFD8 #D862CF
tetradic
#CFD862 #62D8A6 #6B62D8 #D86294
square
#CFD862 #62D8A6 #6B62D8 #D86294
split-complementary
#CFD862 #6294D8 #A662D8
monochromatic
#919926 #BFCA32 #CFD862 #DEE493 #EDF0C4

Accessibility & contrast

On white

1.54
#CFD862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#CFD862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD862
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD862#FFFFFF#000000##000000
##CFD8621.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#E6D269
Tritanopia (blue-blind)
#DBCDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd862;
/* rgb */ color: rgb(207, 216, 98);
/* oklch */ color: oklch(85.2% 0.142 113.0);
Tailwind
colors: {
  custom: {
    50: '#e0e392',
    500: '#cfd862',
    950: '#000000',
  },
}
SCSS
$custom: #cfd862;
$custom-light: #e0e392;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd862",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 64.576,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85186,
    "c": 0.14213,
    "h": 113
  },
  "luminance": 0.63259
}

Semantic roles & 50–950 ramp

primary
#CFD862
secondary
#47409E
accent
#1EC82B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD862

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

Preview Lab → · Contrast checker → · Palette generator →

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