#CCB145#CCB145

#CCB145 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.129 H 95.0°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CCB145
RGBrgb(204, 177, 69)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 13.2%, 66.2%, 20%)
CIE-LABlab(72.70, -2.41, 56.88)
CIE-LCHlch(72.70, 56.93, 92.43°)
OKLaboklab(76.39% -0.0114 0.1287)
OKLCHoklch(76.39% 0.129 95)
XYZxyz(41.7001, 44.7135, 12.0632)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB145 #4560CC
analogous
#CC6D45 #CCB145 #A3CC45
triadic
#CCB145 #45CCB1 #B145CC
tetradic
#CCB145 #45CC6D #4560CC #CC45A3
square
#CCB145 #45CC6D #4560CC #CC45A3
split-complementary
#CCB145 #45A3CC #6D45CC
monochromatic
#766520 #A68E2E #CCB145 #D9C575 #E6D9A5

Accessibility & contrast

On white

2.11
#CCB145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CCB145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB145
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB145#FFFFFF#000000##000000
##CCB1451.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb145;
/* rgb */ color: rgb(204, 177, 69);
/* oklch */ color: oklch(76.4% 0.129 95.0);
Tailwind
colors: {
  custom: {
    50: '#dfc87e',
    500: '#ccb145',
    950: '#000000',
  },
}
SCSS
$custom: #ccb145;
$custom-light: #dfc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb145",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 48,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76391,
    "c": 0.12916,
    "h": 95
  },
  "luminance": 0.44711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB145

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

Preview Lab → · Contrast checker → · Palette generator →

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