#CCB751#CCB751

#CCB751 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.124 H 97.8°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#CCB751
RGBrgb(204, 183, 81)
HSLhsl(50, 55%, 56%)
HSVhsv(50, 60%, 80%)
CMYKcmyk(0%, 10.3%, 60.3%, 20%)
CIE-LABlab(74.38, -4.78, 53.39)
CIE-LCHlch(74.38, 53.60, 95.12°)
OKLaboklab(77.75% -0.0167 0.123)
OKLCHoklch(77.75% 0.124 97.8)
XYZxyz(43.3223, 47.3004, 14.6309)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB751 #5166CC
analogous
#CC7951 #CCB751 #A3CC51
triadic
#CCB751 #51CCB7 #B751CC
tetradic
#CCB751 #51CC79 #5166CC #CC51A3
square
#CCB751 #51CC79 #5166CC #CC51A3
split-complementary
#CCB751 #51A3CC #7951CC
monochromatic
#7E6F25 #AD9833 #CCB751 #DACB80 #E8DEB0

Accessibility & contrast

On white

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

On black

10.46
#CCB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB751
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB751#FFFFFF#000000##000000
##CCB7511.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B346
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#DBABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb751;
/* rgb */ color: rgb(204, 183, 81);
/* oklch */ color: oklch(77.8% 0.124 97.8);
Tailwind
colors: {
  custom: {
    50: '#decc86',
    500: '#ccb751',
    950: '#000000',
  },
}
SCSS
$custom: #ccb751;
$custom-light: #decc86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb751",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 49.756,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77754,
    "c": 0.12412,
    "h": 97.8
  },
  "luminance": 0.47298
}

Semantic roles & 50–950 ramp

primary
#CCB751
secondary
#A3ACD6
accent
#63DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB751

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

Preview Lab → · Contrast checker → · Palette generator →

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