#CFC460#CFC460

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

Color values

HEX#CFC460
RGBrgb(207, 196, 96)
HSLhsl(54, 54%, 59%)
HSVhsv(54, 54%, 81%)
CMYKcmyk(0%, 5.3%, 53.6%, 18.8%)
CIE-LABlab(78.22, -9.11, 50.88)
CIE-LCHlch(78.22, 51.69, 100.15°)
OKLaboklab(80.91% -0.0276 0.1193)
OKLCHoklch(80.91% 0.122 103)
XYZxyz(47.5848, 53.5914, 18.9017)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC460 #606BCF
analogous
#CF8D60 #CFC460 #A3CF60
triadic
#CFC460 #60CFC4 #C460CF
tetradic
#CFC460 #60CF8D #606BCF #CF60A3
square
#CFC460 #60CF8D #606BCF #CF60A3
split-complementary
#CFC460 #60A3CF #8D60CF
monochromatic
#8B812A #BAAD38 #CFC460 #DDD58F #EBE7BE

Accessibility & contrast

On white

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

On black

11.72
#CFC460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC460
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC460#FFFFFF#000000##000000
##CFC4601.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE56
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc460;
/* rgb */ color: rgb(207, 196, 96);
/* oklch */ color: oklch(80.9% 0.122 103.0);
Tailwind
colors: {
  custom: {
    50: '#e0d590',
    500: '#cfc460',
    950: '#000000',
  },
}
SCSS
$custom: #cfc460;
$custom-light: #e0d590;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc460",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 96
  },
  "hsl": {
    "h": 54.054,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80912,
    "c": 0.12244,
    "h": 103
  },
  "luminance": 0.5359
}

Semantic roles & 50–950 ramp

primary
#CFC460
secondary
#424A91
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC460

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

Preview Lab → · Contrast checker → · Palette generator →

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