#CFC462#CFC462

#CFC462 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.121 H 102.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CFC462
RGBrgb(207, 196, 98)
HSLhsl(54, 53%, 60%)
HSVhsv(54, 53%, 81%)
CMYKcmyk(0%, 5.3%, 52.7%, 18.8%)
CIE-LABlab(78.24, -8.95, 49.96)
CIE-LCHlch(78.24, 50.76, 100.15°)
OKLaboklab(80.94% -0.0269 0.1175)
OKLCHoklch(80.94% 0.121 102.9)
XYZxyz(47.6781, 53.6287, 19.3928)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC462 #626DCF
analogous
#CF8E62 #CFC462 #A4CF62
triadic
#CFC462 #62CFC4 #C462CF
tetradic
#CFC462 #62CF8E #626DCF #CF62A4
square
#CFC462 #62CF8E #626DCF #CF62A4
split-complementary
#CFC462 #62A4CF #8E62CF
monochromatic
#8C822B #BBAE39 #CFC462 #DDD691 #ECE7C0

Accessibility & contrast

On white

1.79
#CFC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CFC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC462
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC462#FFFFFF#000000##000000
##CFC4621.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D7C467
Tritanopia (blue-blind)
#DCB9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc462;
/* rgb */ color: rgb(207, 196, 98);
/* oklch */ color: oklch(80.9% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#e0d591',
    500: '#cfc462',
    950: '#000000',
  },
}
SCSS
$custom: #cfc462;
$custom-light: #e0d591;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc462",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 53.945,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80936,
    "c": 0.12054,
    "h": 102.9
  },
  "luminance": 0.53627
}

Semantic roles & 50–950 ramp

primary
#CFC462
secondary
#434B92
accent
#5ADD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC462

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

Preview Lab → · Contrast checker → · Palette generator →

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