#CCB63B#CCB63B

#CCB63B is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.3% C 0.140 H 98.8°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CCB63B
RGBrgb(204, 182, 59)
HSLhsl(51, 59%, 52%)
HSVhsv(51, 71%, 80%)
CMYKcmyk(0%, 10.8%, 71.1%, 20%)
CIE-LABlab(73.94, -5.57, 62.21)
CIE-LCHlch(73.94, 62.46, 95.11°)
OKLaboklab(77.35% -0.0215 0.1382)
OKLCHoklch(77.35% 0.14 98.8)
XYZxyz(42.4212, 46.6111, 10.8992)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB63B #3B51CC
analogous
#CC6E3B #CCB63B #99CC3B
triadic
#CCB63B #3BCCB6 #B63BCC
tetradic
#CCB63B #3BCC6E #3B51CC #CC3B99
square
#CCB63B #3BCC6E #3B51CC #CC3B99
split-complementary
#CCB63B #3B99CC #6E3BCC
monochromatic
#70631D #A08E2A #CCB63B #D9C86C #E5DA9C

Accessibility & contrast

On white

2.03
#CCB63B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CCB63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB63B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB63B#FFFFFF#000000##000000
##CCB63B1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B128
Deuteranopia (green-blind)
#CEB943
Tritanopia (blue-blind)
#DCA99E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb63b;
/* rgb */ color: rgb(204, 182, 59);
/* oklch */ color: oklch(77.3% 0.140 98.8);
Tailwind
colors: {
  custom: {
    50: '#dfcb79',
    500: '#ccb63b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb63b;
$custom-light: #dfcb79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb63b",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 59
  },
  "hsl": {
    "h": 50.897,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77347,
    "c": 0.13988,
    "h": 98.8
  },
  "luminance": 0.46609
}

Semantic roles & 50–950 ramp

primary
#CCB63B
secondary
#929BD1
accent
#5EE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB63B

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

Preview Lab → · Contrast checker → · Palette generator →

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