#CCB93F#CCB93F

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

Color values

HEX#CCB93F
RGBrgb(204, 185, 63)
HSLhsl(52, 58%, 52%)
HSVhsv(52, 69%, 80%)
CMYKcmyk(0%, 9.3%, 69.1%, 20%)
CIE-LABlab(74.76, -6.92, 61.47)
CIE-LCHlch(74.76, 61.86, 96.42°)
OKLaboklab(78.01% -0.0249 0.1374)
OKLCHoklch(78.01% 0.14 100.3)
XYZxyz(43.1499, 47.8961, 11.6737)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB93F #3F52CC
analogous
#CC733F #CCB93F #98CC3F
triadic
#CCB93F #3FCCB9 #B93FCC
tetradic
#CCB93F #3FCC73 #3F52CC #CC3F98
square
#CCB93F #3FCC73 #3F52CC #CC3F98
split-complementary
#CCB93F #3F98CC #733FCC
monochromatic
#72671E #A3932B #CCB93F #D9CB6F #E6DCA0

Accessibility & contrast

On white

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

On black

10.58
#CCB93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB93F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB93F#FFFFFF#000000##000000
##CCB93F1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42D
Deuteranopia (green-blind)
#D0BB46
Tritanopia (blue-blind)
#DBACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb93f;
/* rgb */ color: rgb(204, 185, 63);
/* oklch */ color: oklch(78.0% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#dfcd7b',
    500: '#ccb93f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb93f;
$custom-light: #dfcd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb93f",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 51.915,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78006,
    "c": 0.13961,
    "h": 100.3
  },
  "luminance": 0.47894
}

Semantic roles & 50–950 ramp

primary
#CCB93F
secondary
#959DD2
accent
#5BE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB93F

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

Preview Lab → · Contrast checker → · Palette generator →

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