#CCB351#CCB351

#CCB351 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.121 H 95.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CCB351
RGBrgb(204, 179, 81)
HSLhsl(48, 55%, 56%)
HSVhsv(48, 60%, 80%)
CMYKcmyk(0%, 12.3%, 60.3%, 20%)
CIE-LABlab(73.33, -2.69, 52.22)
CIE-LCHlch(73.33, 52.29, 92.95°)
OKLaboklab(76.92% -0.0107 0.1205)
OKLCHoklch(76.92% 0.121 95.1)
XYZxyz(42.5090, 45.6737, 14.3598)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB351 #516ACC
analogous
#CC7551 #CCB351 #A7CC51
triadic
#CCB351 #51CCB3 #B351CC
tetradic
#CCB351 #51CC75 #516ACC #CC51A7
square
#CCB351 #51CC75 #516ACC #CC51A7
split-complementary
#CCB351 #51A7CC #7551CC
monochromatic
#7E6C25 #AD9433 #CCB351 #DAC880 #E8DCB0

Accessibility & contrast

On white

2.07
#CCB351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CCB351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB351
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB351#FFFFFF#000000##000000
##CCB3511.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#DBA79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb351;
/* rgb */ color: rgb(204, 179, 81);
/* oklch */ color: oklch(76.9% 0.121 95.1);
Tailwind
colors: {
  custom: {
    50: '#dec985',
    500: '#ccb351',
    950: '#000000',
  },
}
SCSS
$custom: #ccb351;
$custom-light: #dec985;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb351",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 47.805,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76924,
    "c": 0.12097,
    "h": 95.1
  },
  "luminance": 0.45672
}

Semantic roles & 50–950 ramp

primary
#CCB351
secondary
#A3ADD6
accent
#68DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB351

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

Preview Lab → · Contrast checker → · Palette generator →

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