#CCB748#CCB748

#CCB748 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.7% C 0.131 H 98.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CCB748
RGBrgb(204, 183, 72)
HSLhsl(50, 56%, 54%)
HSVhsv(50, 65%, 80%)
CMYKcmyk(0%, 10.3%, 64.7%, 20%)
CIE-LABlab(74.30, -5.37, 57.29)
CIE-LCHlch(74.30, 57.54, 95.36°)
OKLaboklab(77.66% -0.0195 0.13)
OKLCHoklch(77.66% 0.131 98.5)
XYZxyz(43.0069, 47.1742, 12.9698)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB748 #485DCC
analogous
#CC7548 #CCB748 #9FCC48
triadic
#CCB748 #48CCB7 #B748CC
tetradic
#CCB748 #48CC75 #485DCC #CC489F
square
#CCB748 #48CC75 #485DCC #CC489F
split-complementary
#CCB748 #489FCC #7548CC
monochromatic
#786A21 #A8952F #CCB748 #D9CA78 #E7DDA8

Accessibility & contrast

On white

2.01
#CCB748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CCB748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB748
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB748#FFFFFF#000000##000000
##CCB7481.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B23B
Deuteranopia (green-blind)
#CEBA4E
Tritanopia (blue-blind)
#DBAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb748;
/* rgb */ color: rgb(204, 183, 72);
/* oklch */ color: oklch(77.7% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#dfcc80',
    500: '#ccb748',
    950: '#000000',
  },
}
SCSS
$custom: #ccb748;
$custom-light: #dfcc80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb748",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 50.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77664,
    "c": 0.13144,
    "h": 98.5
  },
  "luminance": 0.47172
}

Semantic roles & 50–950 ramp

primary
#CCB748
secondary
#9CA5D4
accent
#60E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB748

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

Preview Lab → · Contrast checker → · Palette generator →

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