#CCB944#CCB944

#CCB944 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.136 H 100.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CCB944
RGBrgb(204, 185, 68)
HSLhsl(52, 57%, 53%)
HSVhsv(52, 67%, 80%)
CMYKcmyk(0%, 9.3%, 66.7%, 20%)
CIE-LABlab(74.80, -6.65, 59.49)
CIE-LCHlch(74.80, 59.86, 96.38°)
OKLaboklab(78.05% -0.0236 0.134)
OKLCHoklch(78.05% 0.136 100)
XYZxyz(43.2961, 47.9546, 12.4433)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB944 #4457CC
analogous
#CC7544 #CCB944 #9BCC44
triadic
#CCB944 #44CCB9 #B944CC
tetradic
#CCB944 #44CC75 #4457CC #CC449B
square
#CCB944 #44CC75 #4457CC #CC449B
split-complementary
#CCB944 #449BCC #7544CC
monochromatic
#766A20 #A6952D #CCB944 #D9CB74 #E6DDA4

Accessibility & contrast

On white

1.98
#CCB944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CCB944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB944
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB944#FFFFFF#000000##000000
##CCB9441.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB435
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#DBACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb944;
/* rgb */ color: rgb(204, 185, 68);
/* oklch */ color: oklch(78.0% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#dfcd7e',
    500: '#ccb944',
    950: '#000000',
  },
}
SCSS
$custom: #ccb944;
$custom-light: #dfcd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb944",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 68
  },
  "hsl": {
    "h": 51.618,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78047,
    "c": 0.13608,
    "h": 100
  },
  "luminance": 0.47953
}

Semantic roles & 50–950 ramp

primary
#CCB944
secondary
#99A1D3
accent
#5DE047
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB944

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

Preview Lab → · Contrast checker → · Palette generator →

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