#CCB758#CCB758

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

Color values

HEX#CCB758
RGBrgb(204, 183, 88)
HSLhsl(49, 53%, 57%)
HSVhsv(49, 57%, 80%)
CMYKcmyk(0%, 10.3%, 56.9%, 20%)
CIE-LABlab(74.45, -4.27, 50.22)
CIE-LCHlch(74.45, 50.41, 94.86°)
OKLaboklab(77.83% -0.0144 0.1171)
OKLCHoklch(77.83% 0.118 97)
XYZxyz(43.5984, 47.4108, 16.0853)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB758 #586DCC
analogous
#CC7D58 #CCB758 #A7CC58
triadic
#CCB758 #58CCB7 #B758CC
tetradic
#CCB758 #58CC7D #586DCC #CC58A7
square
#CCB758 #58CC7D #586DCC #CC58A7
split-complementary
#CCB758 #58A7CC #7D58CC
monochromatic
#827228 #B19B36 #CCB758 #DACB87 #E9DFB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB758#FFFFFF#000000##000000
##CCB7581.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)
#C7B34F
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#DAABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb758;
/* rgb */ color: rgb(204, 183, 88);
/* oklch */ color: oklch(77.8% 0.118 97.0);
Tailwind
colors: {
  custom: {
    50: '#decc8a',
    500: '#ccb758',
    950: '#000000',
  },
}
SCSS
$custom: #ccb758;
$custom-light: #decc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb758",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 49.138,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77832,
    "c": 0.11794,
    "h": 97
  },
  "luminance": 0.47409
}

Semantic roles & 50–950 ramp

primary
#CCB758
secondary
#A8B1D7
accent
#66DD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB758

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

Preview Lab → · Contrast checker → · Palette generator →

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