#CCAF55#CCAF55

#CCAF55 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.115 H 91.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CCAF55
RGBrgb(204, 175, 85)
HSLhsl(45, 54%, 57%)
HSVhsv(45, 58%, 80%)
CMYKcmyk(0%, 14.2%, 58.3%, 20%)
CIE-LABlab(72.33, -0.29, 49.21)
CIE-LCHlch(72.33, 49.21, 90.33°)
OKLaboklab(76.15% -0.0033 0.1145)
OKLCHoklch(76.15% 0.115 91.7)
XYZxyz(41.8733, 44.1553, 14.9098)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF55 #5572CC
analogous
#CC7455 #CCAF55 #AECC55
triadic
#CCAF55 #55CCAF #AF55CC
tetradic
#CCAF55 #55CC74 #5572CC #CC55AE
square
#CCAF55 #55CC74 #5572CC #CC55AE
split-complementary
#CCAF55 #55AECC #7455CC
monochromatic
#806A26 #AF9135 #CCAF55 #DAC584 #E8DBB3

Accessibility & contrast

On white

2.14
#CCAF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CCAF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF55
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF55#FFFFFF#000000##000000
##CCAF551.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4C
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#DBA39B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf55;
/* rgb */ color: rgb(204, 175, 85);
/* oklch */ color: oklch(76.1% 0.115 91.7);
Tailwind
colors: {
  custom: {
    50: '#dec688',
    500: '#ccaf55',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf55;
$custom-light: #dec688;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf55",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 45.378,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76147,
    "c": 0.11457,
    "h": 91.7
  },
  "luminance": 0.44153
}

Semantic roles & 50–950 ramp

primary
#CCAF55
secondary
#A6B2D7
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCAF55

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

Preview Lab → · Contrast checker → · Palette generator →

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