#CCBA47#CCBA47

#CCBA47 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#CCBA47
RGBrgb(204, 186, 71)
HSLhsl(52, 57%, 54%)
HSVhsv(52, 65%, 80%)
CMYKcmyk(0%, 8.8%, 65.2%, 20%)
CIE-LABlab(75.08, -6.99, 58.54)
CIE-LCHlch(75.08, 58.96, 96.81°)
OKLaboklab(78.28% -0.0242 0.1325)
OKLCHoklch(78.28% 0.135 100.4)
XYZxyz(43.5999, 48.4120, 13.0079)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA47 #4759CC
analogous
#CC7847 #CCBA47 #9CCC47
triadic
#CCBA47 #47CCBA #BA47CC
tetradic
#CCBA47 #47CC78 #4759CC #CC479C
square
#CCBA47 #47CC78 #4759CC #CC479C
split-complementary
#CCBA47 #479CCC #7847CC
monochromatic
#776C21 #A7972E #CCBA47 #D9CC77 #E7DEA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA47#FFFFFF#000000##000000
##CCBA471.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)
#CBB539
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba47;
/* rgb */ color: rgb(204, 186, 71);
/* oklch */ color: oklch(78.3% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#dfce80',
    500: '#ccba47',
    950: '#000000',
  },
}
SCSS
$custom: #ccba47;
$custom-light: #dfce80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba47",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 51.88,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78283,
    "c": 0.13469,
    "h": 100.4
  },
  "luminance": 0.4841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBA47

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

Preview Lab → · Contrast checker → · Palette generator →

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