#CCB933#CCB933

#CCB933 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.147 H 100.9°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CCB933
RGBrgb(204, 185, 51)
HSLhsl(53, 60%, 50%)
HSVhsv(53, 75%, 80%)
CMYKcmyk(0%, 9.3%, 75%, 20%)
CIE-LABlab(74.68, -7.49, 65.83)
CIE-LCHlch(74.68, 66.25, 96.49°)
OKLaboklab(77.92% -0.0277 0.1444)
OKLCHoklch(77.92% 0.147 100.9)
XYZxyz(42.8504, 47.7763, 10.0960)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB933 #3346CC
analogous
#CC6C33 #CCB933 #93CC33
triadic
#CCB933 #33CCB9 #B933CC
tetradic
#CCB933 #33CC6C #3346CC #CC3393
square
#CCB933 #33CC6C #3346CC #CC3393
split-complementary
#CCB933 #3393CC #6C33CC
monochromatic
#6A601B #9B8D27 #CCB933 #D8CA64 #E4DB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB933#FFFFFF#000000##000000
##CCB9331.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)
#CBB418
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#DCAB9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb933;
/* rgb */ color: rgb(204, 185, 51);
/* oklch */ color: oklch(77.9% 0.147 100.9);
Tailwind
colors: {
  custom: {
    50: '#e0cd75',
    500: '#ccb933',
    950: '#000000',
  },
}
SCSS
$custom: #ccb933;
$custom-light: #e0cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb933",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 52.549,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.77921,
    "c": 0.14705,
    "h": 100.9
  },
  "luminance": 0.47774
}

Semantic roles & 50–950 ramp

primary
#CCB933
secondary
#8B94D0
accent
#58E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB933

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

Preview Lab → · Contrast checker → · Palette generator →

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