#CCB84E#CCB84E

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

Color values

HEX#CCB84E
RGBrgb(204, 184, 78)
HSLhsl(50, 55%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 9.8%, 61.8%, 20%)
CIE-LABlab(74.62, -5.51, 55.00)
CIE-LCHlch(74.62, 55.28, 95.72°)
OKLaboklab(77.93% -0.0192 0.126)
OKLCHoklch(77.93% 0.127 98.6)
XYZxyz(43.4193, 47.6703, 14.1205)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB84E #4E62CC
analogous
#CC794E #CCB84E #A1CC4E
triadic
#CCB84E #4ECCB8 #B84ECC
tetradic
#CCB84E #4ECC79 #4E62CC #CC4EA1
square
#CCB84E #4ECC79 #4E62CC #CC4EA1
split-complementary
#CCB84E #4EA1CC #794ECC
monochromatic
#7C6E24 #AB9831 #CCB84E #DACB7E #E7DEAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB84E#FFFFFF#000000##000000
##CCB84E1.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)
#C9B342
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#DBACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb84e;
/* rgb */ color: rgb(204, 184, 78);
/* oklch */ color: oklch(77.9% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#dfcd84',
    500: '#ccb84e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb84e;
$custom-light: #dfcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb84e",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 50.476,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77931,
    "c": 0.12747,
    "h": 98.6
  },
  "luminance": 0.47668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB84E

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

Preview Lab → · Contrast checker → · Palette generator →

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