#CCB25C#CCB25C

#CCB25C is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.110 H 92.8°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CCB25C
RGBrgb(204, 178, 92)
HSLhsl(46, 52%, 58%)
HSVhsv(46, 55%, 80%)
CMYKcmyk(0%, 12.7%, 54.9%, 20%)
CIE-LABlab(73.19, -1.33, 46.84)
CIE-LCHlch(73.19, 46.86, 91.62°)
OKLaboklab(76.85% -0.0055 0.1101)
OKLCHoklch(76.85% 0.11 92.8)
XYZxyz(42.7557, 45.4529, 16.6443)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB25C #5C76CC
analogous
#CC7A5C #CCB25C #AECC5C
triadic
#CCB25C #5CCCB2 #B25CCC
tetradic
#CCB25C #5CCC7A #5C76CC #CC5CAE
square
#CCB25C #5CCC7A #5C76CC #CC5CAE
split-complementary
#CCB25C #5CAECC #7A5CCC
monochromatic
#846F29 #B39638 #CCB25C #DBC88B #E9DEB9

Accessibility & contrast

On white

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

On black

10.09
#CCB25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB25C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB25C#FFFFFF#000000##000000
##CCB25C1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF54
Deuteranopia (green-blind)
#C8B75F
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb25c;
/* rgb */ color: rgb(204, 178, 92);
/* oklch */ color: oklch(76.8% 0.110 92.8);
Tailwind
colors: {
  custom: {
    50: '#dec88c',
    500: '#ccb25c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb25c;
$custom-light: #dec88c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb25c",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 92
  },
  "hsl": {
    "h": 46.071,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.76848,
    "c": 0.11028,
    "h": 92.8
  },
  "luminance": 0.45451
}

Semantic roles & 50–950 ramp

primary
#CCB25C
secondary
#ACB6D8
accent
#6DDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB25C

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

Preview Lab → · Contrast checker → · Palette generator →

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