#CCB847#CCB847

#CCB847 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.9% C 0.133 H 99.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CCB847
RGBrgb(204, 184, 71)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 65%, 80%)
CMYKcmyk(0%, 9.8%, 65.2%, 20%)
CIE-LABlab(74.56, -5.95, 57.98)
CIE-LCHlch(74.56, 58.29, 95.86°)
OKLaboklab(77.86% -0.0213 0.1313)
OKLCHoklch(77.86% 0.133 99.2)
XYZxyz(43.1815, 47.5752, 12.8684)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB847 #475BCC
analogous
#CC7647 #CCB847 #9ECC47
triadic
#CCB847 #47CCB8 #B847CC
tetradic
#CCB847 #47CC76 #475BCC #CC479E
square
#CCB847 #47CC76 #475BCC #CC479E
split-complementary
#CCB847 #479ECC #7647CC
monochromatic
#776A21 #A7952E #CCB847 #D9CA77 #E7DDA7

Accessibility & contrast

On white

2.00
#CCB847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CCB847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB847
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB847#FFFFFF#000000##000000
##CCB8471.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B339
Deuteranopia (green-blind)
#CEBB4D
Tritanopia (blue-blind)
#DBABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb847;
/* rgb */ color: rgb(204, 184, 71);
/* oklch */ color: oklch(77.9% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#dfcd80',
    500: '#ccb847',
    950: '#000000',
  },
}
SCSS
$custom: #ccb847;
$custom-light: #dfcd80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb847",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 50.977,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77864,
    "c": 0.13302,
    "h": 99.2
  },
  "luminance": 0.47573
}

Semantic roles & 50–950 ramp

primary
#CCB847
secondary
#9BA4D4
accent
#5FE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB847

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

Preview Lab → · Contrast checker → · Palette generator →

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