#CCC261#CCC261

#CCC261 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.120 H 103.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CCC261
RGBrgb(204, 194, 97)
HSLhsl(54, 51%, 59%)
HSVhsv(54, 52%, 80%)
CMYKcmyk(0%, 4.9%, 52.5%, 20%)
CIE-LABlab(77.45, -9.24, 49.44)
CIE-LCHlch(77.45, 50.30, 100.59°)
OKLaboklab(80.24% -0.0277 0.1163)
OKLCHoklch(80.24% 0.12 103.4)
XYZxyz(46.3527, 52.2855, 18.9574)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC261 #616BCC
analogous
#CC8D61 #CCC261 #A1CC61
triadic
#CCC261 #61CCC2 #C261CC
tetradic
#CCC261 #61CC8D #616BCC #CC61A1
square
#CCC261 #61CC8D #616BCC #CC61A1
split-complementary
#CCC261 #61A1CC #8D61CC
monochromatic
#877E2C #B5AA3B #CCC261 #DBD48F #EAE6BE

Accessibility & contrast

On white

1.83
#CCC261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CCC261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC261
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC261#FFFFFF#000000##000000
##CCC2611.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC58
Deuteranopia (green-blind)
#D4C266
Tritanopia (blue-blind)
#D9B7AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc261;
/* rgb */ color: rgb(204, 194, 97);
/* oklch */ color: oklch(80.2% 0.120 103.4);
Tailwind
colors: {
  custom: {
    50: '#ded490',
    500: '#ccc261',
    950: '#000000',
  },
}
SCSS
$custom: #ccc261;
$custom-light: #ded490;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc261",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 54.393,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80242,
    "c": 0.11957,
    "h": 103.4
  },
  "luminance": 0.52284
}

Semantic roles & 50–950 ramp

primary
#CCC261
secondary
#434A8E
accent
#5ADB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC261

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

Preview Lab → · Contrast checker → · Palette generator →

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