#CCB93C#CCB93C

#CCB93C is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.142 H 100.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CCB93C
RGBrgb(204, 185, 60)
HSLhsl(52, 59%, 52%)
HSVhsv(52, 71%, 80%)
CMYKcmyk(0%, 9.3%, 70.6%, 20%)
CIE-LABlab(74.74, -7.08, 62.61)
CIE-LCHlch(74.74, 63.01, 96.45°)
OKLaboklab(77.98% -0.0257 0.1393)
OKLCHoklch(77.98% 0.142 100.4)
XYZxyz(43.0684, 47.8635, 11.2441)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB93C #3C4FCC
analogous
#CC713C #CCB93C #97CC3C
triadic
#CCB93C #3CCCB9 #B93CCC
tetradic
#CCB93C #3CCC71 #3C4FCC #CC3C97
square
#CCB93C #3CCC71 #3C4FCC #CC3C97
split-complementary
#CCB93C #3C97CC #713CCC
monochromatic
#70651D #A1912A #CCB93C #D9CA6D #E5DC9D

Accessibility & contrast

On white

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

On black

10.57
#CCB93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB93C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB93C#FFFFFF#000000##000000
##CCB93C1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB429
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#DCACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb93c;
/* rgb */ color: rgb(204, 185, 60);
/* oklch */ color: oklch(78.0% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#dfcd79',
    500: '#ccb93c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb93c;
$custom-light: #dfcd79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb93c",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 60
  },
  "hsl": {
    "h": 52.083,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77983,
    "c": 0.14161,
    "h": 100.4
  },
  "luminance": 0.47862
}

Semantic roles & 50–950 ramp

primary
#CCB93C
secondary
#929BD1
accent
#5BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB93C

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

Preview Lab → · Contrast checker → · Palette generator →

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