#CCC26E#CCC26E

#CCC26E is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.106 H 102.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CCC26E
RGBrgb(204, 194, 110)
HSLhsl(54, 48%, 62%)
HSVhsv(54, 46%, 80%)
CMYKcmyk(0%, 4.9%, 46.1%, 20%)
CIE-LABlab(77.61, -8.07, 43.30)
CIE-LCHlch(77.61, 44.04, 100.55°)
OKLaboklab(80.42% -0.023 0.1039)
OKLCHoklch(80.42% 0.106 102.5)
XYZxyz(47.0092, 52.5482, 22.4154)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC26E #6E78CC
analogous
#CC936E #CCC26E #A7CC6E
triadic
#CCC26E #6ECCC2 #C26ECC
tetradic
#CCC26E #6ECC93 #6E78CC #CC6EA7
square
#CCC26E #6ECC93 #6E78CC #CC6EA7
split-complementary
#CCC26E #6EA7CC #936ECC
monochromatic
#8E8432 #BBAE42 #CCC26E #DCD59B #ECE8C9

Accessibility & contrast

On white

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

On black

11.51
#CCC26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC26E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC26E#FFFFFF#000000##000000
##CCC26E1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD67
Deuteranopia (green-blind)
#D3C272
Tritanopia (blue-blind)
#D8B8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc26e;
/* rgb */ color: rgb(204, 194, 110);
/* oklch */ color: oklch(80.4% 0.106 102.5);
Tailwind
colors: {
  custom: {
    50: '#ddd499',
    500: '#ccc26e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc26e;
$custom-light: #ddd499;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc26e",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 110
  },
  "hsl": {
    "h": 53.617,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80416,
    "c": 0.10641,
    "h": 102.5
  },
  "luminance": 0.52547
}

Semantic roles & 50–950 ramp

primary
#CCC26E
secondary
#4A5294
accent
#3ABB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC26E

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

Preview Lab → · Contrast checker → · Palette generator →

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