#CCC75E#CCC75E

#CCC75E is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.128 H 106.4°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CCC75E
RGBrgb(204, 199, 94)
HSLhsl(57, 52%, 58%)
HSVhsv(57, 54%, 80%)
CMYKcmyk(0%, 2.5%, 53.9%, 20%)
CIE-LABlab(78.75, -12.04, 52.36)
CIE-LCHlch(78.75, 53.73, 102.95°)
OKLaboklab(81.26% -0.036 0.1223)
OKLCHoklch(81.26% 0.128 106.4)
XYZxyz(47.3470, 54.4938, 18.6118)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC75E #5E63CC
analogous
#CC905E #CCC75E #9ACC5E
triadic
#CCC75E #5ECCC7 #C75ECC
tetradic
#CCC75E #5ECC90 #5E63CC #CC5E9A
square
#CCC75E #5ECC90 #5E63CC #CC5E9A
split-complementary
#CCC75E #5E9ACC #905ECC
monochromatic
#85812A #B4AE39 #CCC75E #DBD78C #E9E7BB

Accessibility & contrast

On white

1.76
#CCC75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CCC75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC75E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC75E#FFFFFF#000000##000000
##CCC75E1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C054
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#D9BCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc75e;
/* rgb */ color: rgb(204, 199, 94);
/* oklch */ color: oklch(81.3% 0.128 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded78f',
    500: '#ccc75e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc75e;
$custom-light: #ded78f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc75e",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 94
  },
  "hsl": {
    "h": 57.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.12752,
    "h": 106.4
  },
  "luminance": 0.54492
}

Semantic roles & 50–950 ramp

primary
#CCC75E
secondary
#42458D
accent
#53DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC75E

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

Preview Lab → · Contrast checker → · Palette generator →

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