#CCB155#CCB155

#CCB155 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.116 H 93.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CCB155
RGBrgb(204, 177, 85)
HSLhsl(46, 54%, 57%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.2%, 58.3%, 20%)
CIE-LABlab(72.85, -1.34, 49.81)
CIE-LCHlch(72.85, 49.82, 91.55°)
OKLaboklab(76.56% -0.0064 0.1158)
OKLCHoklch(76.56% 0.116 93.1)
XYZxyz(42.2655, 44.9396, 15.0405)
Luminance0.4494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB155 #5570CC
analogous
#CC7655 #CCB155 #ABCC55
triadic
#CCB155 #55CCB1 #B155CC
tetradic
#CCB155 #55CC76 #5570CC #CC55AB
square
#CCB155 #55CC76 #5570CC #CC55AB
split-complementary
#CCB155 #55ABCC #7655CC
monochromatic
#806C26 #AF9335 #CCB155 #DAC784 #E8DCB3

Accessibility & contrast

On white

2.10
#CCB155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CCB155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB155
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB155#FFFFFF#000000##000000
##CCB1551.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4C
Deuteranopia (green-blind)
#C8B659
Tritanopia (blue-blind)
#DBA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb155;
/* rgb */ color: rgb(204, 177, 85);
/* oklch */ color: oklch(76.6% 0.116 93.1);
Tailwind
colors: {
  custom: {
    50: '#dec888',
    500: '#ccb155',
    950: '#000000',
  },
}
SCSS
$custom: #ccb155;
$custom-light: #dec888;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb155",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 46.387,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76557,
    "c": 0.11597,
    "h": 93.1
  },
  "luminance": 0.44938
}

Semantic roles & 50–950 ramp

primary
#CCB155
secondary
#A6B1D7
accent
#6CDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CCB155

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

Preview Lab → · Contrast checker → · Palette generator →

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