#CFD462#CFD462

#CFD462 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.138 H 111.3°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#CFD462
RGBrgb(207, 212, 98)
HSLhsl(63, 57%, 61%)
HSVhsv(63, 54%, 83%)
CMYKcmyk(2.4%, 0%, 53.8%, 16.9%)
CIE-LABlab(82.51, -17.02, 54.91)
CIE-LCHlch(82.51, 57.48, 107.22°)
OKLaboklab(84.33% -0.05 0.1282)
OKLCHoklch(84.33% 0.138 111.3)
XYZxyz(51.4814, 61.2353, 20.6606)
Luminance0.6123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD462 #6762D4
analogous
#D4A062 #CFD462 #96D462
triadic
#CFD462 #62CFD4 #D462CF
tetradic
#CFD462 #62D4A0 #6762D4 #D46296
square
#CFD462 #62D4A0 #6762D4 #D46296
split-complementary
#CFD462 #6296D4 #A062D4
monochromatic
#8F9328 #BDC335 #CFD462 #DEE192 #ECEEC2

Accessibility & contrast

On white

1.59
#CFD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#CFD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD462
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD462#FFFFFF#000000##000000
##CFD4621.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E3CF68
Tritanopia (blue-blind)
#DBC9BB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd462;
/* rgb */ color: rgb(207, 212, 98);
/* oklch */ color: oklch(84.3% 0.138 111.3);
Tailwind
colors: {
  custom: {
    50: '#e0e192',
    500: '#cfd462',
    950: '#000000',
  },
}
SCSS
$custom: #cfd462;
$custom-light: #e0e192;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd462",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 62.632,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84328,
    "c": 0.13756,
    "h": 111.3
  },
  "luminance": 0.61234
}

Semantic roles & 50–950 ramp

primary
#CFD462
secondary
#454299
accent
#21C528
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD462

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

Preview Lab → · Contrast checker → · Palette generator →

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