#CCBA4E#CCBA4E

#CCBA4E is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.129 H 99.9°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CCBA4E
RGBrgb(204, 186, 78)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 8.8%, 61.8%, 20%)
CIE-LABlab(75.14, -6.55, 55.58)
CIE-LCHlch(75.14, 55.96, 96.72°)
OKLaboklab(78.35% -0.0221 0.1272)
OKLCHoklch(78.35% 0.129 99.9)
XYZxyz(43.8376, 48.5071, 14.2599)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA4E #4E60CC
analogous
#CC7B4E #CCBA4E #9FCC4E
triadic
#CCBA4E #4ECCBA #BA4ECC
tetradic
#CCBA4E #4ECC7B #4E60CC #CC4E9F
square
#CCBA4E #4ECC7B #4E60CC #CC4E9F
split-complementary
#CCBA4E #4E9FCC #7B4ECC
monochromatic
#7C6F24 #AB9A31 #CCBA4E #DACD7E #E7DFAD

Accessibility & contrast

On white

1.96
#CCBA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CCBA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA4E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA4E#FFFFFF#000000##000000
##CCBA4E1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB542
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#DBAEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba4e;
/* rgb */ color: rgb(204, 186, 78);
/* oklch */ color: oklch(78.3% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#dece84',
    500: '#ccba4e',
    950: '#000000',
  },
}
SCSS
$custom: #ccba4e;
$custom-light: #dece84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba4e",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 51.429,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78349,
    "c": 0.12915,
    "h": 99.9
  },
  "luminance": 0.48505
}

Semantic roles & 50–950 ramp

primary
#CCBA4E
secondary
#A1A8D5
accent
#5FDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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