#CCB645#CCB645

#CCB645 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.133 H 98.2°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CCB645
RGBrgb(204, 182, 69)
HSLhsl(50, 57%, 54%)
HSVhsv(50, 66%, 80%)
CMYKcmyk(0%, 10.8%, 66.2%, 20%)
CIE-LABlab(74.01, -5.03, 58.26)
CIE-LCHlch(74.01, 58.47, 94.93°)
OKLaboklab(77.43% -0.0188 0.1316)
OKLCHoklch(77.43% 0.133 98.2)
XYZxyz(42.7059, 46.7250, 12.3984)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB645 #455BCC
analogous
#CC7245 #CCB645 #9ECC45
triadic
#CCB645 #45CCB6 #B645CC
tetradic
#CCB645 #45CC72 #455BCC #CC459E
square
#CCB645 #45CC72 #455BCC #CC459E
split-complementary
#CCB645 #459ECC #7245CC
monochromatic
#766820 #A6932E #CCB645 #D9C975 #E6DCA5

Accessibility & contrast

On white

2.03
#CCB645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CCB645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB645
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB645#FFFFFF#000000##000000
##CCB6451.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B237
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#DBA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb645;
/* rgb */ color: rgb(204, 182, 69);
/* oklch */ color: oklch(77.4% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfcb7e',
    500: '#ccb645',
    950: '#000000',
  },
}
SCSS
$custom: #ccb645;
$custom-light: #dfcb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb645",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 50.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77429,
    "c": 0.13292,
    "h": 98.2
  },
  "luminance": 0.46723
}

Semantic roles & 50–950 ramp

primary
#CCB645
secondary
#99A3D3
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB645

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

Preview Lab → · Contrast checker → · Palette generator →

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