#CCC274#CCC274

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

Color values

HEX#CCC274
RGBrgb(204, 194, 116)
HSLhsl(53, 46%, 63%)
HSVhsv(53, 43%, 80%)
CMYKcmyk(0%, 4.9%, 43.1%, 20%)
CIE-LABlab(77.69, -7.47, 40.39)
CIE-LCHlch(77.69, 41.08, 100.47°)
OKLaboklab(80.51% -0.0207 0.0978)
OKLCHoklch(80.51% 0.1 102)
XYZxyz(47.3470, 52.6833, 24.1944)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC274 #747ECC
analogous
#CC9674 #CCC274 #AACC74
triadic
#CCC274 #74CCC2 #C274CC
tetradic
#CCC274 #74CC96 #747ECC #CC74AA
square
#CCC274 #74CC96 #747ECC #CC74AA
split-complementary
#CCC274 #74AACC #9674CC
monochromatic
#918635 #BCAE47 #CCC274 #DCD6A1 #EDE9CE

Accessibility & contrast

On white

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

On black

11.54
#CCC274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC274
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC274#FFFFFF#000000##000000
##CCC2741.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc274;
/* rgb */ color: rgb(204, 194, 116);
/* oklch */ color: oklch(80.5% 0.100 102.0);
Tailwind
colors: {
  custom: {
    50: '#ddd49d',
    500: '#ccc274',
    950: '#000000',
  },
}
SCSS
$custom: #ccc274;
$custom-light: #ddd49d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc274",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 116
  },
  "hsl": {
    "h": 53.182,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80506,
    "c": 0.09994,
    "h": 102
  },
  "luminance": 0.52682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC274

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

Preview Lab → · Contrast checker → · Palette generator →

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