#CCBA43#CCBA43

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

Color values

HEX#CCBA43
RGBrgb(204, 186, 67)
HSLhsl(52, 57%, 53%)
HSVhsv(52, 67%, 80%)
CMYKcmyk(0%, 8.8%, 67.2%, 20%)
CIE-LABlab(75.05, -7.22, 60.16)
CIE-LCHlch(75.05, 60.60, 96.84°)
OKLaboklab(78.25% -0.0253 0.1353)
OKLCHoklch(78.25% 0.138 100.6)
XYZxyz(43.4757, 48.3623, 12.3539)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA43 #4355CC
analogous
#CC7543 #CCBA43 #99CC43
triadic
#CCBA43 #43CCBA #BA43CC
tetradic
#CCBA43 #43CC75 #4355CC #CC4399
square
#CCBA43 #43CC75 #4355CC #CC4399
split-complementary
#CCBA43 #4399CC #7543CC
monochromatic
#756A20 #A5952D #CCBA43 #D9CC73 #E6DDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA43#FFFFFF#000000##000000
##CCBA431.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)
#CBB533
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba43;
/* rgb */ color: rgb(204, 186, 67);
/* oklch */ color: oklch(78.2% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#dfce7d',
    500: '#ccba43',
    950: '#000000',
  },
}
SCSS
$custom: #ccba43;
$custom-light: #dfce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba43",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 67
  },
  "hsl": {
    "h": 52.117,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78248,
    "c": 0.13764,
    "h": 100.6
  },
  "luminance": 0.4836
}

Semantic roles & 50–950 ramp

primary
#CCBA43
secondary
#98A0D3
accent
#5BE147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBA43

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

Preview Lab → · Contrast checker → · Palette generator →

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