#CCD262#CCD262

#CCD262 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.136 H 111.8°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CCD262
RGBrgb(204, 210, 98)
HSLhsl(63, 55%, 60%)
HSVhsv(63, 53%, 82%)
CMYKcmyk(2.9%, 0%, 53.3%, 17.6%)
CIE-LABlab(81.74, -17.24, 53.96)
CIE-LCHlch(81.74, 56.65, 107.71°)
OKLaboklab(83.66% -0.0504 0.1262)
OKLCHoklch(83.66% 0.136 111.8)
XYZxyz(50.1541, 59.8134, 20.4560)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD262 #6862D2
analogous
#D2A062 #CCD262 #94D262
triadic
#CCD262 #62CCD2 #D262CC
tetradic
#CCD262 #62D2A0 #6862D2 #D26294
square
#CCD262 #62D2A0 #6862D2 #D26294
split-complementary
#CCD262 #6294D2 #A062D2
monochromatic
#8B9029 #B8C037 #CCD262 #DBE092 #EBEDC1

Accessibility & contrast

On white

1.62
#CCD262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CCD262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD262
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD262#FFFFFF#000000##000000
##CCD2621.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA57
Deuteranopia (green-blind)
#E0CD68
Tritanopia (blue-blind)
#D8C7B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd262;
/* rgb */ color: rgb(204, 210, 98);
/* oklch */ color: oklch(83.7% 0.136 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf92',
    500: '#ccd262',
    950: '#000000',
  },
}
SCSS
$custom: #ccd262;
$custom-light: #dedf92;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd262",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 63.214,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83658,
    "c": 0.13589,
    "h": 111.8
  },
  "luminance": 0.59812
}

Semantic roles & 50–950 ramp

primary
#CCD262
secondary
#474296
accent
#23C32B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD262

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

Preview Lab → · Contrast checker → · Palette generator →

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