#CCC74E#CCC74E

#CCC74E is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.141 H 106.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CCC74E
RGBrgb(204, 199, 78)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2.5%, 61.8%, 20%)
CIE-LABlab(78.60, -13.20, 59.32)
CIE-LCHlch(78.60, 60.77, 102.55°)
OKLaboklab(81.1% -0.0411 0.1352)
OKLCHoklch(81.1% 0.141 106.9)
XYZxyz(46.7020, 54.2358, 15.2147)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC74E #4E53CC
analogous
#CC884E #CCC74E #92CC4E
triadic
#CCC74E #4ECCC7 #C74ECC
tetradic
#CCC74E #4ECC88 #4E53CC #CC4E92
square
#CCC74E #4ECC88 #4E53CC #CC4E92
split-complementary
#CCC74E #4E92CC #884ECC
monochromatic
#7C7824 #ABA731 #CCC74E #DAD67E #E7E5AD

Accessibility & contrast

On white

1.77
#CCC74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CCC74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC74E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC74E#FFFFFF#000000##000000
##CCC74E1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03F
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#DABBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc74e;
/* rgb */ color: rgb(204, 199, 78);
/* oklch */ color: oklch(81.1% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded785',
    500: '#ccc74e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc74e;
$custom-light: #ded785;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc74e",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 57.619,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81096,
    "c": 0.14129,
    "h": 106.9
  },
  "luminance": 0.54234
}

Semantic roles & 50–950 ramp

primary
#CCC74E
secondary
#3A3D84
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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