#CCBA41#CCBA41

#CCBA41 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.139 H 100.7°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#CCBA41
RGBrgb(204, 186, 65)
HSLhsl(52, 58%, 53%)
HSVhsv(52, 68%, 80%)
CMYKcmyk(0%, 8.8%, 68.1%, 20%)
CIE-LABlab(75.04, -7.33, 60.96)
CIE-LCHlch(75.04, 61.40, 96.86°)
OKLaboklab(78.23% -0.0259 0.1366)
OKLCHoklch(78.23% 0.139 100.7)
XYZxyz(43.4168, 48.3388, 12.0434)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA41 #4153CC
analogous
#CC7441 #CCBA41 #99CC41
triadic
#CCBA41 #41CCBA #BA41CC
tetradic
#CCBA41 #41CC74 #4153CC #CC4199
square
#CCBA41 #41CC74 #4153CC #CC4199
split-complementary
#CCBA41 #4199CC #7441CC
monochromatic
#74691F #A4942C #CCBA41 #D9CC71 #E6DDA1

Accessibility & contrast

On white

1.97
#CCBA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#CCBA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA41
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA41#FFFFFF#000000##000000
##CCBA411.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB530
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#DBADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba41;
/* rgb */ color: rgb(204, 186, 65);
/* oklch */ color: oklch(78.2% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#dfce7c',
    500: '#ccba41',
    950: '#000000',
  },
}
SCSS
$custom: #ccba41;
$custom-light: #dfce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba41",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 52.23,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78231,
    "c": 0.13906,
    "h": 100.7
  },
  "luminance": 0.48337
}

Semantic roles & 50–950 ramp

primary
#CCBA41
secondary
#969ED3
accent
#5BE147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBA41

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

Preview Lab → · Contrast checker → · Palette generator →

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