#CCB53B#CCB53B

#CCB53B is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.1% C 0.139 H 98.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CCB53B
RGBrgb(204, 181, 59)
HSLhsl(50, 59%, 52%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 11.3%, 71.1%, 20%)
CIE-LABlab(73.68, -5.05, 61.95)
CIE-LCHlch(73.68, 62.15, 94.66°)
OKLaboklab(77.14% -0.02 0.1377)
OKLCHoklch(77.14% 0.139 98.3)
XYZxyz(42.2172, 46.2030, 10.8312)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB53B #3B52CC
analogous
#CC6D3B #CCB53B #9BCC3B
triadic
#CCB53B #3BCCB5 #B53BCC
tetradic
#CCB53B #3BCC6D #3B52CC #CC3B9B
square
#CCB53B #3BCC6D #3B52CC #CC3B9B
split-complementary
#CCB53B #3B9BCC #6D3BCC
monochromatic
#70621D #A08D2A #CCB53B #D9C76C #E5DA9C

Accessibility & contrast

On white

2.05
#CCB53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CCB53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB53B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB53B#FFFFFF#000000##000000
##CCB53B1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B028
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#DCA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb53b;
/* rgb */ color: rgb(204, 181, 59);
/* oklch */ color: oklch(77.1% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#dfca78',
    500: '#ccb53b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb53b;
$custom-light: #dfca78;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb53b",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 59
  },
  "hsl": {
    "h": 50.483,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77139,
    "c": 0.13912,
    "h": 98.3
  },
  "luminance": 0.46201
}

Semantic roles & 50–950 ramp

primary
#CCB53B
secondary
#929CD1
accent
#5FE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB53B

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

Preview Lab → · Contrast checker → · Palette generator →

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