#CCB93D#CCB93D

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

Color values

HEX#CCB93D
RGBrgb(204, 185, 61)
HSLhsl(52, 58%, 52%)
HSVhsv(52, 70%, 80%)
CMYKcmyk(0%, 9.3%, 70.1%, 20%)
CIE-LABlab(74.75, -7.02, 62.24)
CIE-LCHlch(74.75, 62.63, 96.44°)
OKLaboklab(77.99% -0.0254 0.1386)
OKLCHoklch(77.99% 0.141 100.4)
XYZxyz(43.0951, 47.8742, 11.3846)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB93D #3D50CC
analogous
#CC723D #CCB93D #98CC3D
triadic
#CCB93D #3DCCB9 #B93DCC
tetradic
#CCB93D #3DCC72 #3D50CC #CC3D98
square
#CCB93D #3DCC72 #3D50CC #CC3D98
split-complementary
#CCB93D #3D98CC #723DCC
monochromatic
#71661E #A1922A #CCB93D #D9CA6D #E5DC9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB93D#FFFFFF#000000##000000
##CCB93D1.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)
#CAB42A
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#DCACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb93d;
/* rgb */ color: rgb(204, 185, 61);
/* oklch */ color: oklch(78.0% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#dfcd7a',
    500: '#ccb93d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb93d;
$custom-light: #dfcd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb93d",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 61
  },
  "hsl": {
    "h": 52.028,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7799,
    "c": 0.14095,
    "h": 100.4
  },
  "luminance": 0.47872
}

Semantic roles & 50–950 ramp

primary
#CCB93D
secondary
#939BD2
accent
#5BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB93D

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

Preview Lab → · Contrast checker → · Palette generator →

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