#CCB746#CCB746

#CCB746 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.133 H 98.7°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CCB746
RGBrgb(204, 183, 70)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 66%, 80%)
CMYKcmyk(0%, 10.3%, 65.7%, 20%)
CIE-LABlab(74.28, -5.49, 58.12)
CIE-LCHlch(74.28, 58.38, 95.40°)
OKLaboklab(77.65% -0.0201 0.1315)
OKLCHoklch(77.65% 0.133 98.7)
XYZxyz(42.9427, 47.1485, 12.6318)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB746 #465BCC
analogous
#CC7446 #CCB746 #9ECC46
triadic
#CCB746 #46CCB7 #B746CC
tetradic
#CCB746 #46CC74 #465BCC #CC469E
square
#CCB746 #46CC74 #465BCC #CC469E
split-complementary
#CCB746 #469ECC #7446CC
monochromatic
#776921 #A7942E #CCB746 #D9CA76 #E6DCA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB746#FFFFFF#000000##000000
##CCB7461.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)
#C8B238
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#DBAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb746;
/* rgb */ color: rgb(204, 183, 70);
/* oklch */ color: oklch(77.6% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfcc7f',
    500: '#ccb746',
    950: '#000000',
  },
}
SCSS
$custom: #ccb746;
$custom-light: #dfcc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb746",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 50.597,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77646,
    "c": 0.13297,
    "h": 98.7
  },
  "luminance": 0.47147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB746

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

Preview Lab → · Contrast checker → · Palette generator →

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