#CCC07E#CCC07E

#CCC07E is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.087 H 99.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CCC07E
RGBrgb(204, 192, 126)
HSLhsl(51, 43%, 65%)
HSVhsv(51, 38%, 80%)
CMYKcmyk(0%, 5.9%, 38.2%, 20%)
CIE-LABlab(77.31, -5.35, 34.80)
CIE-LCHlch(77.31, 35.20, 98.74°)
OKLaboklab(80.25% -0.0138 0.0855)
OKLCHoklch(80.25% 0.087 99.2)
XYZxyz(47.5182, 52.0444, 27.2771)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC07E #7E8ACC
analogous
#CC997E #CCC07E #B1CC7E
triadic
#CCC07E #7ECCC0 #C07ECC
tetradic
#CCC07E #7ECC99 #7E8ACC #CC7EB1
square
#CCC07E #7ECC99 #7E8ACC #CC7EB1
split-complementary
#CCC07E #7EB1CC #997ECC
monochromatic
#95873B #BBAB52 #CCC07E #DDD5AA #EFEBD6

Accessibility & contrast

On white

1.84
#CCC07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CCC07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC07E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC07E#FFFFFF#000000##000000
##CCC07E1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC79
Deuteranopia (green-blind)
#D0C180
Tritanopia (blue-blind)
#D7B7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc07e;
/* rgb */ color: rgb(204, 192, 126);
/* oklch */ color: oklch(80.3% 0.087 99.2);
Tailwind
colors: {
  custom: {
    50: '#ddd2a4',
    500: '#ccc07e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc07e;
$custom-light: #ddd2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc07e",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 126
  },
  "hsl": {
    "h": 50.769,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80252,
    "c": 0.08663,
    "h": 99.2
  },
  "luminance": 0.52043
}

Semantic roles & 50–950 ramp

primary
#CCC07E
secondary
#535E9B
accent
#44B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC07E

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

Preview Lab → · Contrast checker → · Palette generator →

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