#CCC08E#CCC08E

#CCC08E is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.068 H 96.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CCC08E
RGBrgb(204, 192, 142)
HSLhsl(48, 38%, 68%)
HSVhsv(48, 30%, 80%)
CMYKcmyk(0%, 5.9%, 30.4%, 20%)
CIE-LABlab(77.57, -3.41, 26.78)
CIE-LCHlch(77.57, 27.00, 97.27°)
OKLaboklab(80.55% -0.0073 0.0672)
OKLCHoklch(80.55% 0.068 96.2)
XYZxyz(48.6344, 52.4908, 33.1557)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC08E #8E9ACC
analogous
#CCA18E #CCC08E #B9CC8E
triadic
#CCC08E #8ECCC0 #C08ECC
tetradic
#CCC08E #8ECCA1 #8E9ACC #CC8EB9
square
#CCC08E #8ECCA1 #8E9ACC #CC8EB9
split-complementary
#CCC08E #8EB9CC #A18ECC
monochromatic
#9A8A46 #B9A864 #CCC08E #DFD8B8 #F2EFE2

Accessibility & contrast

On white

1.83
#CCC08E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CCC08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC08E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC08E#FFFFFF#000000##000000
##CCC08E1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD8B
Deuteranopia (green-blind)
#CDC290
Tritanopia (blue-blind)
#D6B9B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc08e;
/* rgb */ color: rgb(204, 192, 142);
/* oklch */ color: oklch(80.5% 0.068 96.2);
Tailwind
colors: {
  custom: {
    50: '#dcd2af',
    500: '#ccc08e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc08e;
$custom-light: #dcd2af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc08e",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 142
  },
  "hsl": {
    "h": 48.387,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8055,
    "c": 0.06762,
    "h": 96.2
  },
  "luminance": 0.5249
}

Semantic roles & 50–950 ramp

primary
#CCC08E
secondary
#5D6AA1
accent
#4DB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC08E

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

Preview Lab → · Contrast checker → · Palette generator →

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