#CCC85F#CCC85F

#CCC85F is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.128 H 106.9°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CCC85F
RGBrgb(204, 200, 95)
HSLhsl(58, 52%, 59%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 2%, 53.4%, 20%)
CIE-LABlab(79.03, -12.47, 52.22)
CIE-LCHlch(79.03, 53.69, 103.43°)
OKLaboklab(81.49% -0.0372 0.1221)
OKLCHoklch(81.49% 0.128 106.9)
XYZxyz(47.6230, 54.9735, 18.9266)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC85F #5F63CC
analogous
#CC915F #CCC85F #99CC5F
triadic
#CCC85F #5FCCC8 #C85FCC
tetradic
#CCC85F #5FCC91 #5F63CC #CC5F99
square
#CCC85F #5FCC91 #5F63CC #CC5F99
split-complementary
#CCC85F #5F99CC #915FCC
monochromatic
#86832B #B4B039 #CCC85F #DBD88D #EAE8BC

Accessibility & contrast

On white

1.75
#CCC85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CCC85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC85F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC85F#FFFFFF#000000##000000
##CCC85F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C155
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#D9BDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc85f;
/* rgb */ color: rgb(204, 200, 95);
/* oklch */ color: oklch(81.5% 0.128 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded88f',
    500: '#ccc85f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc85f;
$custom-light: #ded88f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc85f",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 57.798,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81487,
    "c": 0.12765,
    "h": 106.9
  },
  "luminance": 0.54972
}

Semantic roles & 50–950 ramp

primary
#CCC85F
secondary
#42458D
accent
#52DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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