#CCB757#CCB757

#CCB757 is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.119 H 97.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CCB757
RGBrgb(204, 183, 87)
HSLhsl(49, 53%, 57%)
HSVhsv(49, 57%, 80%)
CMYKcmyk(0%, 10.3%, 57.4%, 20%)
CIE-LABlab(74.44, -4.35, 50.68)
CIE-LCHlch(74.44, 50.87, 94.90°)
OKLaboklab(77.82% -0.0148 0.1179)
OKLCHoklch(77.82% 0.119 97.1)
XYZxyz(43.5573, 47.3944, 15.8687)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB757 #576CCC
analogous
#CC7D57 #CCB757 #A7CC57
triadic
#CCB757 #57CCB7 #B757CC
tetradic
#CCB757 #57CC7D #576CCC #CC57A7
square
#CCB757 #57CC7D #576CCC #CC57A7
split-complementary
#CCB757 #57A7CC #7D57CC
monochromatic
#817127 #B09A36 #CCB757 #DACB86 #E9DFB5

Accessibility & contrast

On white

2.00
#CCB757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CCB757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB757
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB757#FFFFFF#000000##000000
##CCB7571.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#CDBA5B
Tritanopia (blue-blind)
#DBABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb757;
/* rgb */ color: rgb(204, 183, 87);
/* oklch */ color: oklch(77.8% 0.119 97.1);
Tailwind
colors: {
  custom: {
    50: '#decc89',
    500: '#ccb757',
    950: '#000000',
  },
}
SCSS
$custom: #ccb757;
$custom-light: #decc89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb757",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 49.231,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77821,
    "c": 0.11884,
    "h": 97.1
  },
  "luminance": 0.47392
}

Semantic roles & 50–950 ramp

primary
#CCB757
secondary
#A8B0D7
accent
#65DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB757

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

Preview Lab → · Contrast checker → · Palette generator →

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