#CFD762#CFD762

#CFD762 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.0% C 0.141 H 112.6°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#CFD762
RGBrgb(207, 215, 98)
HSLhsl(64, 59%, 61%)
HSVhsv(64, 54%, 84%)
CMYKcmyk(3.7%, 0%, 54.4%, 15.7%)
CIE-LABlab(83.31, -18.50, 55.83)
CIE-LCHlch(83.31, 58.82, 108.33°)
OKLaboklab(84.97% -0.0542 0.1302)
OKLCHoklch(84.97% 0.141 112.6)
XYZxyz(52.2383, 62.7491, 20.9129)
Luminance0.6275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD762 #6A62D7
analogous
#D7A562 #CFD762 #95D762
triadic
#CFD762 #62CFD7 #D762CF
tetradic
#CFD762 #62D7A5 #6A62D7 #D76295
square
#CFD762 #62D7A5 #6A62D7 #D76295
split-complementary
#CFD762 #6295D7 #A562D7
monochromatic
#909827 #BEC933 #CFD762 #DEE393 #EDF0C4

Accessibility & contrast

On white

1.55
#CFD762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#CFD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD762
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD762#FFFFFF#000000##000000
##CFD7621.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E5D169
Tritanopia (blue-blind)
#DBCCBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd762;
/* rgb */ color: rgb(207, 215, 98);
/* oklch */ color: oklch(85.0% 0.141 112.6);
Tailwind
colors: {
  custom: {
    50: '#e0e392',
    500: '#cfd762',
    950: '#000000',
  },
}
SCSS
$custom: #cfd762;
$custom-light: #e0e392;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd762",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 64.103,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84971,
    "c": 0.14098,
    "h": 112.6
  },
  "luminance": 0.62748
}

Semantic roles & 50–950 ramp

primary
#CFD762
secondary
#47419D
accent
#1EC72A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD762

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

Preview Lab → · Contrast checker → · Palette generator →

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