#CCB852#CCB852

#CCB852 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.124 H 98.3°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CCB852
RGBrgb(204, 184, 82)
HSLhsl(50, 54%, 56%)
HSVhsv(50, 60%, 80%)
CMYKcmyk(0%, 9.8%, 59.8%, 20%)
CIE-LABlab(74.65, -5.23, 53.24)
CIE-LCHlch(74.65, 53.50, 95.61°)
OKLaboklab(77.97% -0.0179 0.1228)
OKLCHoklch(77.97% 0.124 98.3)
XYZxyz(43.5671, 47.7294, 14.8989)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB852 #5266CC
analogous
#CC7B52 #CCB852 #A3CC52
triadic
#CCB852 #52CCB8 #B852CC
tetradic
#CCB852 #52CC7B #5266CC #CC52A3
square
#CCB852 #52CC7B #5266CC #CC52A3
split-complementary
#CCB852 #52A3CC #7B52CC
monochromatic
#7E7025 #AE9A33 #CCB852 #DACB81 #E8DFB1

Accessibility & contrast

On white

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

On black

10.55
#CCB852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB852
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB852#FFFFFF#000000##000000
##CCB8521.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DBACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb852;
/* rgb */ color: rgb(204, 184, 82);
/* oklch */ color: oklch(78.0% 0.124 98.3);
Tailwind
colors: {
  custom: {
    50: '#decd86',
    500: '#ccb852',
    950: '#000000',
  },
}
SCSS
$custom: #ccb852;
$custom-light: #decd86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb852",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 82
  },
  "hsl": {
    "h": 50.164,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.12409,
    "h": 98.3
  },
  "luminance": 0.47728
}

Semantic roles & 50–950 ramp

primary
#CCB852
secondary
#A4ACD6
accent
#62DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB852

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

Preview Lab → · Contrast checker → · Palette generator →

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