#CCB75C#CCB75C

#CCB75C is a light, moderate yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.114 H 96.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CCB75C
RGBrgb(204, 183, 92)
HSLhsl(49, 52%, 58%)
HSVhsv(49, 55%, 80%)
CMYKcmyk(0%, 10.3%, 54.9%, 20%)
CIE-LABlab(74.50, -3.95, 48.37)
CIE-LCHlch(74.50, 48.53, 94.67°)
OKLaboklab(77.88% -0.0131 0.1135)
OKLCHoklch(77.88% 0.114 96.6)
XYZxyz(43.7687, 47.4789, 16.9820)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB75C #5C71CC
analogous
#CC7F5C #CCB75C #A9CC5C
triadic
#CCB75C #5CCCB7 #B75CCC
tetradic
#CCB75C #5CCC7F #5C71CC #CC5CA9
square
#CCB75C #5CCC7F #5C71CC #CC5CA9
split-complementary
#CCB75C #5CA9CC #7F5CCC
monochromatic
#847329 #B39C38 #CCB75C #DBCC8B #E9E0B9

Accessibility & contrast

On white

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

On black

10.50
#CCB75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB75C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB75C#FFFFFF#000000##000000
##CCB75C1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B353
Deuteranopia (green-blind)
#CCBA60
Tritanopia (blue-blind)
#DAABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb75c;
/* rgb */ color: rgb(204, 183, 92);
/* oklch */ color: oklch(77.9% 0.114 96.6);
Tailwind
colors: {
  custom: {
    50: '#decc8d',
    500: '#ccb75c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb75c;
$custom-light: #decc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb75c",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 92
  },
  "hsl": {
    "h": 48.75,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.7788,
    "c": 0.11423,
    "h": 96.6
  },
  "luminance": 0.47477
}

Semantic roles & 50–950 ramp

primary
#CCB75C
secondary
#ACB4D8
accent
#67DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB75C

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

Preview Lab → · Contrast checker → · Palette generator →

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