#CCB157#CCB157

#CCB157 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.114 H 92.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CCB157
RGBrgb(204, 177, 87)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.2%, 57.4%, 20%)
CIE-LABlab(72.87, -1.19, 48.88)
CIE-LCHlch(72.87, 48.89, 91.40°)
OKLaboklab(76.58% -0.0057 0.114)
OKLCHoklch(76.58% 0.114 92.9)
XYZxyz(42.3460, 44.9718, 15.4649)
Luminance0.4497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB157 #5772CC
analogous
#CC7757 #CCB157 #ADCC57
triadic
#CCB157 #57CCB1 #B157CC
tetradic
#CCB157 #57CC77 #5772CC #CC57AD
square
#CCB157 #57CC77 #5772CC #CC57AD
split-complementary
#CCB157 #57ADCC #7757CC
monochromatic
#816D27 #B09436 #CCB157 #DAC786 #E9DDB5

Accessibility & contrast

On white

2.10
#CCB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CCB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB157
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB157#FFFFFF#000000##000000
##CCB1571.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#DBA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb157;
/* rgb */ color: rgb(204, 177, 87);
/* oklch */ color: oklch(76.6% 0.114 92.9);
Tailwind
colors: {
  custom: {
    50: '#dec889',
    500: '#ccb157',
    950: '#000000',
  },
}
SCSS
$custom: #ccb157;
$custom-light: #dec889;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb157",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 46.154,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76581,
    "c": 0.11418,
    "h": 92.9
  },
  "luminance": 0.4497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB157

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

Preview Lab → · Contrast checker → · Palette generator →

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