#CCC262#CCC262

#CCC262 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.119 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CCC262
RGBrgb(204, 194, 98)
HSLhsl(54, 51%, 59%)
HSVhsv(54, 52%, 80%)
CMYKcmyk(0%, 4.9%, 52%, 20%)
CIE-LABlab(77.46, -9.16, 48.98)
CIE-LCHlch(77.46, 49.83, 100.59°)
OKLaboklab(80.25% -0.0274 0.1154)
OKLCHoklch(80.25% 0.119 103.3)
XYZxyz(46.3996, 52.3043, 19.2045)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC262 #626CCC
analogous
#CC8D62 #CCC262 #A1CC62
triadic
#CCC262 #62CCC2 #C262CC
tetradic
#CCC262 #62CC8D #626CCC #CC62A1
square
#CCC262 #62CC8D #626CCC #CC62A1
split-complementary
#CCC262 #62A1CC #8D62CC
monochromatic
#887F2C #B6AA3B #CCC262 #DBD490 #EAE6BE

Accessibility & contrast

On white

1.83
#CCC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CCC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC262
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC262#FFFFFF#000000##000000
##CCC2621.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC59
Deuteranopia (green-blind)
#D4C267
Tritanopia (blue-blind)
#D9B7AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc262;
/* rgb */ color: rgb(204, 194, 98);
/* oklch */ color: oklch(80.3% 0.119 103.3);
Tailwind
colors: {
  custom: {
    50: '#ded491',
    500: '#ccc262',
    950: '#000000',
  },
}
SCSS
$custom: #ccc262;
$custom-light: #ded491;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc262",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 54.34,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80254,
    "c": 0.1186,
    "h": 103.3
  },
  "luminance": 0.52303
}

Semantic roles & 50–950 ramp

primary
#CCC262
secondary
#444B8F
accent
#5BDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC262

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

Preview Lab → · Contrast checker → · Palette generator →

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