#CCB13F#CCB13F

#CCB13F is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.134 H 95.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CCB13F
RGBrgb(204, 177, 63)
HSLhsl(49, 58%, 52%)
HSVhsv(49, 69%, 80%)
CMYKcmyk(0%, 13.2%, 69.1%, 20%)
CIE-LABlab(72.66, -2.75, 59.34)
CIE-LCHlch(72.66, 59.40, 92.65°)
OKLaboklab(76.34% -0.013 0.1329)
OKLCHoklch(76.34% 0.134 95.6)
XYZxyz(41.5232, 44.6427, 11.1314)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB13F #3F5ACC
analogous
#CC6B3F #CCB13F #A0CC3F
triadic
#CCB13F #3FCCB1 #B13FCC
tetradic
#CCB13F #3FCC6B #3F5ACC #CC3FA0
square
#CCB13F #3FCC6B #3F5ACC #CC3FA0
split-complementary
#CCB13F #3FA0CC #6B3FCC
monochromatic
#72621E #A38C2B #CCB13F #D9C56F #E6D8A0

Accessibility & contrast

On white

2.12
#CCB13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CCB13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB13F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB13F#FFFFFF#000000##000000
##CCB13F1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2F
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#DCA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb13f;
/* rgb */ color: rgb(204, 177, 63);
/* oklch */ color: oklch(76.3% 0.134 95.6);
Tailwind
colors: {
  custom: {
    50: '#dfc87a',
    500: '#ccb13f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb13f;
$custom-light: #dfc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb13f",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 48.511,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76339,
    "c": 0.1335,
    "h": 95.6
  },
  "luminance": 0.44641
}

Semantic roles & 50–950 ramp

primary
#CCB13F
secondary
#95A0D2
accent
#64E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB13F

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

Preview Lab → · Contrast checker → · Palette generator →

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