#CCB93B#CCB93B

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

Color values

HEX#CCB93B
RGBrgb(204, 185, 59)
HSLhsl(52, 59%, 52%)
HSVhsv(52, 71%, 80%)
CMYKcmyk(0%, 9.3%, 71.1%, 20%)
CIE-LABlab(74.73, -7.12, 62.99)
CIE-LCHlch(74.73, 63.39, 96.45°)
OKLaboklab(77.98% -0.0259 0.1399)
OKLCHoklch(77.98% 0.142 100.5)
XYZxyz(43.0422, 47.8530, 11.1062)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB93B #3B4ECC
analogous
#CC713B #CCB93B #97CC3B
triadic
#CCB93B #3BCCB9 #B93BCC
tetradic
#CCB93B #3BCC71 #3B4ECC #CC3B97
square
#CCB93B #3BCC71 #3B4ECC #CC3B97
split-complementary
#CCB93B #3B97CC #713BCC
monochromatic
#70651D #A0912A #CCB93B #D9CA6C #E5DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB93B#FFFFFF#000000##000000
##CCB93B1.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)
#CAB427
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#DCACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb93b;
/* rgb */ color: rgb(204, 185, 59);
/* oklch */ color: oklch(78.0% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd79',
    500: '#ccb93b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb93b;
$custom-light: #dfcd79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb93b",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 52.138,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77975,
    "c": 0.14225,
    "h": 100.5
  },
  "luminance": 0.47851
}

Semantic roles & 50–950 ramp

primary
#CCB93B
secondary
#929AD1
accent
#5AE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB93B

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

Preview Lab → · Contrast checker → · Palette generator →

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