#CCC48E#CCC48E

#CCC48E is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.072 H 100.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CCC48E
RGBrgb(204, 196, 142)
HSLhsl(52, 38%, 68%)
HSVhsv(52, 30%, 80%)
CMYKcmyk(0%, 3.9%, 30.4%, 20%)
CIE-LABlab(78.62, -5.50, 28.18)
CIE-LCHlch(78.62, 28.71, 101.04°)
OKLaboklab(81.38% -0.0133 0.0706)
OKLCHoklch(81.38% 0.072 100.7)
XYZxyz(49.5246, 54.2713, 33.4525)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC48E #8E96CC
analogous
#CCA58E #CCC48E #B5CC8E
triadic
#CCC48E #8ECCC4 #C48ECC
tetradic
#CCC48E #8ECCA5 #8E96CC #CC8EB5
square
#CCC48E #8ECCA5 #8E96CC #CC8EB5
split-complementary
#CCC48E #8EB5CC #A58ECC
monochromatic
#9A8F46 #B9AE64 #CCC48E #DFDAB8 #F2F0E2

Accessibility & contrast

On white

1.77
#CCC48E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CCC48E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC48E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC48E#FFFFFF#000000##000000
##CCC48E1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC08A
Deuteranopia (green-blind)
#D1C490
Tritanopia (blue-blind)
#D5BDB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc48e;
/* rgb */ color: rgb(204, 196, 142);
/* oklch */ color: oklch(81.4% 0.072 100.7);
Tailwind
colors: {
  custom: {
    50: '#dcd5af',
    500: '#ccc48e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc48e;
$custom-light: #dcd5af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc48e",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 142
  },
  "hsl": {
    "h": 52.258,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.81377,
    "c": 0.07181,
    "h": 100.7
  },
  "luminance": 0.5427
}

Semantic roles & 50–950 ramp

primary
#CCC48E
secondary
#5D66A1
accent
#45B135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC48E

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

Preview Lab → · Contrast checker → · Palette generator →

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