#CCAF57#CCAF57

#CCAF57 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.113 H 91.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CCAF57
RGBrgb(204, 175, 87)
HSLhsl(45, 53%, 57%)
HSVhsv(45, 57%, 80%)
CMYKcmyk(0%, 14.2%, 57.4%, 20%)
CIE-LABlab(72.35, -0.14, 48.28)
CIE-LCHlch(72.35, 48.28, 90.16°)
OKLaboklab(76.17% -0.0026 0.1127)
OKLCHoklch(76.17% 0.113 91.3)
XYZxyz(41.9539, 44.1875, 15.3342)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF57 #5774CC
analogous
#CC7457 #CCAF57 #AFCC57
triadic
#CCAF57 #57CCAF #AF57CC
tetradic
#CCAF57 #57CC74 #5774CC #CC57AF
square
#CCAF57 #57CC74 #5774CC #CC57AF
split-complementary
#CCAF57 #57AFCC #7457CC
monochromatic
#816B27 #B09236 #CCAF57 #DAC586 #E9DCB5

Accessibility & contrast

On white

2.13
#CCAF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CCAF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF57
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF57#FFFFFF#000000##000000
##CCAF571.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccaf57;
/* rgb */ color: rgb(204, 175, 87);
/* oklch */ color: oklch(76.2% 0.113 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec689',
    500: '#ccaf57',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf57;
$custom-light: #dec689;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf57",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 45.128,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76171,
    "c": 0.11277,
    "h": 91.3
  },
  "luminance": 0.44185
}

Semantic roles & 50–950 ramp

primary
#CCAF57
secondary
#A8B3D7
accent
#6FDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCAF57

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

Preview Lab → · Contrast checker → · Palette generator →

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