#CCB257#CCB257

#CCB257 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.115 H 93.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CCB257
RGBrgb(204, 178, 87)
HSLhsl(47, 53%, 57%)
HSVhsv(47, 57%, 80%)
CMYKcmyk(0%, 12.7%, 57.4%, 20%)
CIE-LABlab(73.13, -1.72, 49.18)
CIE-LCHlch(73.13, 49.21, 92.00°)
OKLaboklab(76.79% -0.0072 0.1147)
OKLCHoklch(76.79% 0.115 93.6)
XYZxyz(42.5443, 45.3683, 15.5310)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB257 #5771CC
analogous
#CC7857 #CCB257 #ABCC57
triadic
#CCB257 #57CCB2 #B257CC
tetradic
#CCB257 #57CC78 #5771CC #CC57AB
square
#CCB257 #57CC78 #5771CC #CC57AB
split-complementary
#CCB257 #57ABCC #7857CC
monochromatic
#816D27 #B09536 #CCB257 #DAC886 #E9DDB5

Accessibility & contrast

On white

2.08
#CCB257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CCB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB257
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB257#FFFFFF#000000##000000
##CCB2571.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4E
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb257;
/* rgb */ color: rgb(204, 178, 87);
/* oklch */ color: oklch(76.8% 0.115 93.6);
Tailwind
colors: {
  custom: {
    50: '#dec889',
    500: '#ccb257',
    950: '#000000',
  },
}
SCSS
$custom: #ccb257;
$custom-light: #dec889;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb257",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 46.667,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.11492,
    "h": 93.6
  },
  "luminance": 0.45366
}

Semantic roles & 50–950 ramp

primary
#CCB257
secondary
#A8B2D7
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB257

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

Preview Lab → · Contrast checker → · Palette generator →

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