#CCB747#CCB747

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

Color values

HEX#CCB747
RGBrgb(204, 183, 71)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 65%, 80%)
CMYKcmyk(0%, 10.3%, 65.2%, 20%)
CIE-LABlab(74.29, -5.43, 57.70)
CIE-LCHlch(74.29, 57.96, 95.38°)
OKLaboklab(77.66% -0.0198 0.1307)
OKLCHoklch(77.66% 0.132 98.6)
XYZxyz(42.9745, 47.1613, 12.7994)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB747 #475CCC
analogous
#CC7547 #CCB747 #9FCC47
triadic
#CCB747 #47CCB7 #B747CC
tetradic
#CCB747 #47CC75 #475CCC #CC479F
square
#CCB747 #47CC75 #475CCC #CC479F
split-complementary
#CCB747 #479FCC #7547CC
monochromatic
#776A21 #A7942E #CCB747 #D9CA77 #E7DDA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB747#FFFFFF#000000##000000
##CCB7471.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)
#C8B239
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#DBAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb747;
/* rgb */ color: rgb(204, 183, 71);
/* oklch */ color: oklch(77.7% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#dfcc7f',
    500: '#ccb747',
    950: '#000000',
  },
}
SCSS
$custom: #ccb747;
$custom-light: #dfcc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb747",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 50.526,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77655,
    "c": 0.13221,
    "h": 98.6
  },
  "luminance": 0.47159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB747

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

Preview Lab → · Contrast checker → · Palette generator →

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