#CCC273#CCC273

#CCC273 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.101 H 102.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CCC273
RGBrgb(204, 194, 115)
HSLhsl(53, 47%, 63%)
HSVhsv(53, 44%, 80%)
CMYKcmyk(0%, 4.9%, 43.6%, 20%)
CIE-LABlab(77.67, -7.57, 40.88)
CIE-LCHlch(77.67, 41.57, 100.49°)
OKLaboklab(80.49% -0.0211 0.0988)
OKLCHoklch(80.49% 0.101 102.1)
XYZxyz(47.2892, 52.6601, 23.8897)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC273 #737DCC
analogous
#CC9573 #CCC273 #AACC73
triadic
#CCC273 #73CCC2 #C273CC
tetradic
#CCC273 #73CC95 #737DCC #CC73AA
square
#CCC273 #73CC95 #737DCC #CC73AA
split-complementary
#CCC273 #73AACC #9573CC
monochromatic
#908634 #BCAE46 #CCC273 #DCD6A0 #EDE9CD

Accessibility & contrast

On white

1.82
#CCC273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CCC273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC273
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC273#FFFFFF#000000##000000
##CCC2731.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6D
Deuteranopia (green-blind)
#D2C276
Tritanopia (blue-blind)
#D8B8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc273;
/* rgb */ color: rgb(204, 194, 115);
/* oklch */ color: oklch(80.5% 0.101 102.1);
Tailwind
colors: {
  custom: {
    50: '#ddd49c',
    500: '#ccc273',
    950: '#000000',
  },
}
SCSS
$custom: #ccc273;
$custom-light: #ddd49c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc273",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 115
  },
  "hsl": {
    "h": 53.258,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80491,
    "c": 0.10104,
    "h": 102.1
  },
  "luminance": 0.52659
}

Semantic roles & 50–950 ramp

primary
#CCC273
secondary
#4D5597
accent
#3CBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC273

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

Preview Lab → · Contrast checker → · Palette generator →

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