#CCC243#CCC243

#CCC243 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.145 H 104.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CCC243
RGBrgb(204, 194, 67)
HSLhsl(56, 57%, 53%)
HSVhsv(56, 67%, 80%)
CMYKcmyk(0%, 4.9%, 67.2%, 20%)
CIE-LABlab(77.18, -11.33, 62.34)
CIE-LCHlch(77.18, 63.36, 100.30°)
OKLaboklab(79.94% -0.037 0.1399)
OKLCHoklch(79.94% 0.145 104.8)
XYZxyz(45.2085, 51.8279, 12.9315)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC243 #434DCC
analogous
#CC7D43 #CCC243 #92CC43
triadic
#CCC243 #43CCC2 #C243CC
tetradic
#CCC243 #43CC7D #434DCC #CC4392
square
#CCC243 #43CC7D #434DCC #CC4392
split-complementary
#CCC243 #4392CC #7D43CC
monochromatic
#756F20 #A59C2D #CCC243 #D9D273 #E6E1A3

Accessibility & contrast

On white

1.85
#CCC243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CCC243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC243
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC243#FFFFFF#000000##000000
##CCC2431.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB31
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#DBB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc243;
/* rgb */ color: rgb(204, 194, 67);
/* oklch */ color: oklch(79.9% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd47e',
    500: '#ccc243',
    950: '#000000',
  },
}
SCSS
$custom: #ccc243;
$custom-light: #dfd47e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc243",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 55.62,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79937,
    "c": 0.14469,
    "h": 104.8
  },
  "luminance": 0.51826
}

Semantic roles & 50–950 ramp

primary
#CCC243
secondary
#363B7E
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC243

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

Preview Lab → · Contrast checker → · Palette generator →

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