#CCB260#CCB260

#CCB260 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.106 H 92.2°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CCB260
RGBrgb(204, 178, 96)
HSLhsl(46, 51%, 59%)
HSVhsv(46, 53%, 80%)
CMYKcmyk(0%, 12.7%, 52.9%, 20%)
CIE-LABlab(73.24, -0.99, 44.93)
CIE-LCHlch(73.24, 44.94, 91.27°)
OKLaboklab(76.9% -0.004 0.1064)
OKLCHoklch(76.9% 0.106 92.2)
XYZxyz(42.9352, 45.5247, 17.5896)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB260 #607ACC
analogous
#CC7C60 #CCB260 #B0CC60
triadic
#CCB260 #60CCB2 #B260CC
tetradic
#CCB260 #60CC7C #607ACC #CC60B0
square
#CCB260 #60CC7C #607ACC #CC60B0
split-complementary
#CCB260 #60B0CC #7C60CC
monochromatic
#86702B #B5973A #CCB260 #DBC88E #EADFBD

Accessibility & contrast

On white

2.08
#CCB260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CCB260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB260
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB260#FFFFFF#000000##000000
##CCB2601.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF59
Deuteranopia (green-blind)
#C8B763
Tritanopia (blue-blind)
#DAA79F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb260;
/* rgb */ color: rgb(204, 178, 96);
/* oklch */ color: oklch(76.9% 0.106 92.2);
Tailwind
colors: {
  custom: {
    50: '#dec88f',
    500: '#ccb260',
    950: '#000000',
  },
}
SCSS
$custom: #ccb260;
$custom-light: #dec88f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb260",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 96
  },
  "hsl": {
    "h": 45.556,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.769,
    "c": 0.10645,
    "h": 92.2
  },
  "luminance": 0.45523
}

Semantic roles & 50–950 ramp

primary
#CCB260
secondary
#AFB9D9
accent
#6FDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB260

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

Preview Lab → · Contrast checker → · Palette generator →

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