#CCBA62#CCBA62

#CCBA62 is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.111 H 98.0°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CCBA62
RGBrgb(204, 186, 98)
HSLhsl(50, 51%, 59%)
HSVhsv(50, 52%, 80%)
CMYKcmyk(0%, 8.8%, 52%, 20%)
CIE-LABlab(75.35, -5.02, 46.48)
CIE-LCHlch(75.35, 46.75, 96.17°)
OKLaboklab(78.58% -0.0155 0.1099)
OKLCHoklch(78.58% 0.111 98)
XYZxyz(44.6668, 48.8388, 18.6269)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA62 #6274CC
analogous
#CC8562 #CCBA62 #A9CC62
triadic
#CCBA62 #62CCBA #BA62CC
tetradic
#CCBA62 #62CC85 #6274CC #CC62A9
square
#CCBA62 #62CC85 #6274CC #CC62A9
split-complementary
#CCBA62 #62A9CC #8562CC
monochromatic
#88782C #B6A13B #CCBA62 #DBCE90 #EAE3BE

Accessibility & contrast

On white

1.95
#CCBA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CCBA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA62
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA62#FFFFFF#000000##000000
##CCBA621.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65A
Deuteranopia (green-blind)
#CEBC66
Tritanopia (blue-blind)
#DAAFA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccba62;
/* rgb */ color: rgb(204, 186, 98);
/* oklch */ color: oklch(78.6% 0.111 98.0);
Tailwind
colors: {
  custom: {
    50: '#dece91',
    500: '#ccba62',
    950: '#000000',
  },
}
SCSS
$custom: #ccba62;
$custom-light: #dece91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba62",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 98
  },
  "hsl": {
    "h": 49.811,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.7858,
    "c": 0.11101,
    "h": 98
  },
  "luminance": 0.48837
}

Semantic roles & 50–950 ramp

primary
#CCBA62
secondary
#B0B7DA
accent
#65DA4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBA62

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

Preview Lab → · Contrast checker → · Palette generator →

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