#CCBA3D#CCBA3D

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

Color values

HEX#CCBA3D
RGBrgb(204, 186, 61)
HSLhsl(52, 58%, 52%)
HSVhsv(52, 70%, 80%)
CMYKcmyk(0%, 8.8%, 70.1%, 20%)
CIE-LABlab(75.01, -7.54, 62.50)
CIE-LCHlch(75.01, 62.95, 96.88°)
OKLaboklab(78.2% -0.0269 0.1392)
OKLCHoklch(78.2% 0.142 100.9)
XYZxyz(43.3050, 48.2940, 11.4546)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA3D #3D4FCC
analogous
#CC733D #CCBA3D #96CC3D
triadic
#CCBA3D #3DCCBA #BA3DCC
tetradic
#CCBA3D #3DCC73 #3D4FCC #CC3D96
square
#CCBA3D #3DCC73 #3D4FCC #CC3D96
split-complementary
#CCBA3D #3D96CC #733DCC
monochromatic
#71661E #A1922A #CCBA3D #D9CB6D #E5DC9E

Accessibility & contrast

On white

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

On black

10.66
#CCBA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA3D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA3D#FFFFFF#000000##000000
##CCBA3D1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52A
Deuteranopia (green-blind)
#D0BC45
Tritanopia (blue-blind)
#DCADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba3d;
/* rgb */ color: rgb(204, 186, 61);
/* oklch */ color: oklch(78.2% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfce7a',
    500: '#ccba3d',
    950: '#000000',
  },
}
SCSS
$custom: #ccba3d;
$custom-light: #dfce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba3d",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 52.448,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.782,
    "c": 0.14177,
    "h": 100.9
  },
  "luminance": 0.48292
}

Semantic roles & 50–950 ramp

primary
#CCBA3D
secondary
#939BD2
accent
#5AE246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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