#CCB84D#CCB84D

#CCB84D is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.9% C 0.128 H 98.7°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CCB84D
RGBrgb(204, 184, 77)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 9.8%, 62.3%, 20%)
CIE-LABlab(74.61, -5.57, 55.44)
CIE-LCHlch(74.61, 55.72, 95.74°)
OKLaboklab(77.92% -0.0195 0.1268)
OKLCHoklch(77.92% 0.128 98.7)
XYZxyz(43.3837, 47.6561, 13.9331)
Luminance0.4765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB84D #4D61CC
analogous
#CC784D #CCB84D #A1CC4D
triadic
#CCB84D #4DCCB8 #B84DCC
tetradic
#CCB84D #4DCC78 #4D61CC #CC4DA1
square
#CCB84D #4DCC78 #4D61CC #CC4DA1
split-complementary
#CCB84D #4DA1CC #784DCC
monochromatic
#7B6D23 #AB9831 #CCB84D #DACB7D #E7DEAC

Accessibility & contrast

On white

1.99
#CCB84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#CCB84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB84D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB84D#FFFFFF#000000##000000
##CCB84D1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B341
Deuteranopia (green-blind)
#CEBB52
Tritanopia (blue-blind)
#DBABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb84d;
/* rgb */ color: rgb(204, 184, 77);
/* oklch */ color: oklch(77.9% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfcd83',
    500: '#ccb84d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb84d;
$custom-light: #dfcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb84d",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 50.551,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77921,
    "c": 0.12829,
    "h": 98.7
  },
  "luminance": 0.47654
}

Semantic roles & 50–950 ramp

primary
#CCB84D
secondary
#A0A8D5
accent
#61DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB84D

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

Preview Lab → · Contrast checker → · Palette generator →

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