#CCB643#CCB643

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

Color values

HEX#CCB643
RGBrgb(204, 182, 67)
HSLhsl(50, 57%, 53%)
HSVhsv(50, 67%, 80%)
CMYKcmyk(0%, 10.8%, 67.2%, 20%)
CIE-LABlab(74.00, -5.14, 59.07)
CIE-LCHlch(74.00, 59.30, 94.98°)
OKLaboklab(77.41% -0.0194 0.133)
OKLCHoklch(77.41% 0.134 98.3)
XYZxyz(42.6448, 46.7005, 12.0770)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB643 #4359CC
analogous
#CC7143 #CCB643 #9DCC43
triadic
#CCB643 #43CCB6 #B643CC
tetradic
#CCB643 #43CC71 #4359CC #CC439D
square
#CCB643 #43CC71 #4359CC #CC439D
split-complementary
#CCB643 #439DCC #7143CC
monochromatic
#756720 #A5922D #CCB643 #D9C973 #E6DBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB643#FFFFFF#000000##000000
##CCB6431.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)
#C7B234
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#DCA99E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb643;
/* rgb */ color: rgb(204, 182, 67);
/* oklch */ color: oklch(77.4% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#dfcb7d',
    500: '#ccb643',
    950: '#000000',
  },
}
SCSS
$custom: #ccb643;
$custom-light: #dfcb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb643",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 50.365,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77411,
    "c": 0.13439,
    "h": 98.3
  },
  "luminance": 0.46699
}

Semantic roles & 50–950 ramp

primary
#CCB643
secondary
#98A1D3
accent
#60E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB643

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

Preview Lab → · Contrast checker → · Palette generator →

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