#CCC293#CCC293

#CCC293 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.064 H 97.5°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CCC293
RGBrgb(204, 194, 147)
HSLhsl(49, 36%, 69%)
HSVhsv(49, 28%, 80%)
CMYKcmyk(0%, 4.9%, 27.9%, 20%)
CIE-LABlab(78.19, -3.80, 24.96)
CIE-LCHlch(78.19, 25.25, 98.66°)
OKLaboklab(81.06% -0.0083 0.063)
OKLCHoklch(81.06% 0.064 97.5)
XYZxyz(49.4604, 53.5286, 35.3247)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC293 #939DCC
analogous
#CCA693 #CCC293 #BACC93
triadic
#CCC293 #93CCC2 #C293CC
tetradic
#CCC293 #93CCA6 #939DCC #CC93BA
square
#CCC293 #93CCA6 #939DCC #CC93BA
split-complementary
#CCC293 #93BACC #A693CC
monochromatic
#9B8D49 #B8AB69 #CCC293 #E0D9BD #F3F1E6

Accessibility & contrast

On white

1.79
#CCC293 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CCC293 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC293
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC293#FFFFFF#000000##000000
##CCC2931.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBF90
Deuteranopia (green-blind)
#CEC395
Tritanopia (blue-blind)
#D5BBB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc293;
/* rgb */ color: rgb(204, 194, 147);
/* oklch */ color: oklch(81.1% 0.064 97.5);
Tailwind
colors: {
  custom: {
    50: '#dcd4b3',
    500: '#ccc293',
    950: '#000000',
  },
}
SCSS
$custom: #ccc293;
$custom-light: #dcd4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc293",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 147
  },
  "hsl": {
    "h": 49.474,
    "s": 35.849,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81063,
    "c": 0.0635,
    "h": 97.5
  },
  "luminance": 0.53528
}

Semantic roles & 50–950 ramp

primary
#CCC293
secondary
#626DA1
accent
#4CAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC293

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

Preview Lab → · Contrast checker → · Palette generator →

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