#CCB147#CCB147

#CCB147 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.128 H 94.8°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CCB147
RGBrgb(204, 177, 71)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 65%, 80%)
CMYKcmyk(0%, 13.2%, 65.2%, 20%)
CIE-LABlab(72.72, -2.29, 56.03)
CIE-LCHlch(72.72, 56.08, 92.34°)
OKLaboklab(76.41% -0.0108 0.1272)
OKLCHoklch(76.41% 0.128 94.8)
XYZxyz(41.7633, 44.7387, 12.3957)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB147 #4762CC
analogous
#CC6F47 #CCB147 #A4CC47
triadic
#CCB147 #47CCB1 #B147CC
tetradic
#CCB147 #47CC6F #4762CC #CC47A4
square
#CCB147 #47CC6F #4762CC #CC47A4
split-complementary
#CCB147 #47A4CC #6F47CC
monochromatic
#776621 #A78F2E #CCB147 #D9C577 #E7DAA7

Accessibility & contrast

On white

2.11
#CCB147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CCB147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB147
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB147#FFFFFF#000000##000000
##CCB1471.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3A
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#DCA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb147;
/* rgb */ color: rgb(204, 177, 71);
/* oklch */ color: oklch(76.4% 0.128 94.8);
Tailwind
colors: {
  custom: {
    50: '#dfc87f',
    500: '#ccb147',
    950: '#000000',
  },
}
SCSS
$custom: #ccb147;
$custom-light: #dfc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb147",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 47.82,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7641,
    "c": 0.12764,
    "h": 94.8
  },
  "luminance": 0.44737
}

Semantic roles & 50–950 ramp

primary
#CCB147
secondary
#9BA7D4
accent
#67E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB147

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

Preview Lab → · Contrast checker → · Palette generator →

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