#CCB745#CCB745

#CCB745 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.134 H 98.7°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CCB745
RGBrgb(204, 183, 69)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 66%, 80%)
CMYKcmyk(0%, 10.3%, 66.2%, 20%)
CIE-LABlab(74.28, -5.55, 58.53)
CIE-LCHlch(74.28, 58.79, 95.42°)
OKLaboklab(77.64% -0.0203 0.1322)
OKLCHoklch(77.64% 0.134 98.7)
XYZxyz(42.9114, 47.1360, 12.4669)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB745 #455ACC
analogous
#CC7345 #CCB745 #9DCC45
triadic
#CCB745 #45CCB7 #B745CC
tetradic
#CCB745 #45CC73 #455ACC #CC459D
square
#CCB745 #45CC73 #455ACC #CC459D
split-complementary
#CCB745 #459DCC #7345CC
monochromatic
#766920 #A6932E #CCB745 #D9CA75 #E6DCA5

Accessibility & contrast

On white

2.01
#CCB745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CCB745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB745
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB745#FFFFFF#000000##000000
##CCB7451.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#DBAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb745;
/* rgb */ color: rgb(204, 183, 69);
/* oklch */ color: oklch(77.6% 0.134 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfcc7e',
    500: '#ccb745',
    950: '#000000',
  },
}
SCSS
$custom: #ccb745;
$custom-light: #dfcc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb745",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 50.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77637,
    "c": 0.13372,
    "h": 98.7
  },
  "luminance": 0.47134
}

Semantic roles & 50–950 ramp

primary
#CCB745
secondary
#99A2D3
accent
#5FE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB745

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

Preview Lab → · Contrast checker → · Palette generator →

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