#CCB245#CCB245

#CCB245 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.130 H 95.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CCB245
RGBrgb(204, 178, 69)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 12.7%, 66.2%, 20%)
CIE-LABlab(72.96, -2.94, 57.15)
CIE-LCHlch(72.96, 57.23, 92.94°)
OKLaboklab(76.6% -0.0129 0.1292)
OKLCHoklch(76.6% 0.13 95.7)
XYZxyz(41.8984, 45.1100, 12.1293)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB245 #455FCC
analogous
#CC6E45 #CCB245 #A3CC45
triadic
#CCB245 #45CCB2 #B245CC
tetradic
#CCB245 #45CC6E #455FCC #CC45A3
square
#CCB245 #45CC6E #455FCC #CC45A3
split-complementary
#CCB245 #45A3CC #6E45CC
monochromatic
#766620 #A68F2E #CCB245 #D9C675 #E6DAA5

Accessibility & contrast

On white

2.10
#CCB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CCB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB245
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB245#FFFFFF#000000##000000
##CCB2451.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#DCA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb245;
/* rgb */ color: rgb(204, 178, 69);
/* oklch */ color: oklch(76.6% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#dfc87e',
    500: '#ccb245',
    950: '#000000',
  },
}
SCSS
$custom: #ccb245;
$custom-light: #dfc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb245",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 48.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76598,
    "c": 0.12988,
    "h": 95.7
  },
  "luminance": 0.45108
}

Semantic roles & 50–950 ramp

primary
#CCB245
secondary
#99A5D3
accent
#65E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB245

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

Preview Lab → · Contrast checker → · Palette generator →

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