#CCB348#CCB348

#CCB348 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.128 H 96.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CCB348
RGBrgb(204, 179, 72)
HSLhsl(49, 56%, 54%)
HSVhsv(49, 65%, 80%)
CMYKcmyk(0%, 12.3%, 64.7%, 20%)
CIE-LABlab(73.25, -3.28, 56.17)
CIE-LCHlch(73.25, 56.26, 93.34°)
OKLaboklab(76.83% -0.0135 0.1276)
OKLCHoklch(76.83% 0.128 96)
XYZxyz(42.1936, 45.5475, 12.6987)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB348 #4861CC
analogous
#CC7148 #CCB348 #A3CC48
triadic
#CCB348 #48CCB3 #B348CC
tetradic
#CCB348 #48CC71 #4861CC #CC48A3
square
#CCB348 #48CC71 #4861CC #CC48A3
split-complementary
#CCB348 #48A3CC #7148CC
monochromatic
#786821 #A8912F #CCB348 #D9C778 #E7DBA8

Accessibility & contrast

On white

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

On black

10.11
#CCB348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB348
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB348#FFFFFF#000000##000000
##CCB3481.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#DBA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb348;
/* rgb */ color: rgb(204, 179, 72);
/* oklch */ color: oklch(76.8% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#dfc980',
    500: '#ccb348',
    950: '#000000',
  },
}
SCSS
$custom: #ccb348;
$custom-light: #dfc980;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb348",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 48.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.12833,
    "h": 96
  },
  "luminance": 0.45545
}

Semantic roles & 50–950 ramp

primary
#CCB348
secondary
#9CA6D4
accent
#65E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB348

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

Preview Lab → · Contrast checker → · Palette generator →

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