#CCBA46#CCBA46

#CCBA46 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.135 H 100.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CCBA46
RGBrgb(204, 186, 70)
HSLhsl(52, 57%, 54%)
HSVhsv(52, 66%, 80%)
CMYKcmyk(0%, 8.8%, 65.7%, 20%)
CIE-LABlab(75.08, -7.05, 58.95)
CIE-LCHlch(75.08, 59.37, 96.82°)
OKLaboklab(78.27% -0.0245 0.1332)
OKLCHoklch(78.27% 0.135 100.4)
XYZxyz(43.5681, 48.3993, 12.8402)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA46 #4658CC
analogous
#CC7746 #CCBA46 #9BCC46
triadic
#CCBA46 #46CCBA #BA46CC
tetradic
#CCBA46 #46CC77 #4658CC #CC469B
square
#CCBA46 #46CC77 #4658CC #CC469B
split-complementary
#CCBA46 #469BCC #7746CC
monochromatic
#776B21 #A7972E #CCBA46 #D9CC76 #E6DEA6

Accessibility & contrast

On white

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

On black

10.68
#CCBA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA46
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA46#FFFFFF#000000##000000
##CCBA461.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB537
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba46;
/* rgb */ color: rgb(204, 186, 70);
/* oklch */ color: oklch(78.3% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#dfce7f',
    500: '#ccba46',
    950: '#000000',
  },
}
SCSS
$custom: #ccba46;
$custom-light: #dfce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba46",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 51.94,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78274,
    "c": 0.13543,
    "h": 100.4
  },
  "luminance": 0.48397
}

Semantic roles & 50–950 ramp

primary
#CCBA46
secondary
#9AA2D4
accent
#5CE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBA46

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

Preview Lab → · Contrast checker → · Palette generator →

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