#CCB057#CCB057

#CCB057 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.113 H 92.1°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CCB057
RGBrgb(204, 176, 87)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.7%, 57.4%, 20%)
CIE-LABlab(72.61, -0.67, 48.58)
CIE-LCHlch(72.61, 48.58, 90.78°)
OKLaboklab(76.38% -0.0041 0.1134)
OKLCHoklch(76.38% 0.113 92.1)
XYZxyz(42.1492, 44.5782, 15.3993)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB057 #5773CC
analogous
#CC7657 #CCB057 #AECC57
triadic
#CCB057 #57CCB0 #B057CC
tetradic
#CCB057 #57CC76 #5773CC #CC57AE
square
#CCB057 #57CC76 #5773CC #CC57AE
split-complementary
#CCB057 #57AECC #7657CC
monochromatic
#816C27 #B09336 #CCB057 #DAC686 #E9DCB5

Accessibility & contrast

On white

2.12
#CCB057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CCB057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB057
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB057#FFFFFF#000000##000000
##CCB0571.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4E
Deuteranopia (green-blind)
#C7B65B
Tritanopia (blue-blind)
#DBA49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb057;
/* rgb */ color: rgb(204, 176, 87);
/* oklch */ color: oklch(76.4% 0.113 92.1);
Tailwind
colors: {
  custom: {
    50: '#dec789',
    500: '#ccb057',
    950: '#000000',
  },
}
SCSS
$custom: #ccb057;
$custom-light: #dec789;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb057",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 87
  },
  "hsl": {
    "h": 45.641,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76376,
    "c": 0.11347,
    "h": 92.1
  },
  "luminance": 0.44576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB057

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

Preview Lab → · Contrast checker → · Palette generator →

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