#CFC260#CFC260

#CFC260 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.121 H 101.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CFC260
RGBrgb(207, 194, 96)
HSLhsl(53, 54%, 59%)
HSVhsv(53, 54%, 81%)
CMYKcmyk(0%, 6.3%, 53.6%, 18.8%)
CIE-LABlab(77.69, -8.09, 50.27)
CIE-LCHlch(77.69, 50.91, 99.14°)
OKLaboklab(80.49% -0.0247 0.118)
OKLCHoklch(80.49% 0.121 101.8)
XYZxyz(47.1367, 52.6952, 18.7523)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC260 #606DCF
analogous
#CF8B60 #CFC260 #A5CF60
triadic
#CFC260 #60CFC2 #C260CF
tetradic
#CFC260 #60CF8B #606DCF #CF60A5
square
#CFC260 #60CF8B #606DCF #CF60A5
split-complementary
#CFC260 #60A5CF #8B60CF
monochromatic
#8B7F2A #BAAB38 #CFC260 #DDD48F #EBE6BE

Accessibility & contrast

On white

1.82
#CFC260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CFC260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC260
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC260#FFFFFF#000000##000000
##CFC2601.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD57
Deuteranopia (green-blind)
#D5C365
Tritanopia (blue-blind)
#DDB6AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc260;
/* rgb */ color: rgb(207, 194, 96);
/* oklch */ color: oklch(80.5% 0.121 101.8);
Tailwind
colors: {
  custom: {
    50: '#e0d490',
    500: '#cfc260',
    950: '#000000',
  },
}
SCSS
$custom: #cfc260;
$custom-light: #e0d490;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc260",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 96
  },
  "hsl": {
    "h": 52.973,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80493,
    "c": 0.12051,
    "h": 101.8
  },
  "luminance": 0.52693
}

Semantic roles & 50–950 ramp

primary
#CFC260
secondary
#424B91
accent
#5CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC260

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

Preview Lab → · Contrast checker → · Palette generator →

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