#CDC362#CDC362

#CDC362 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.120 H 103.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CDC362
RGBrgb(205, 195, 98)
HSLhsl(54, 52%, 59%)
HSVhsv(54, 52%, 80%)
CMYKcmyk(0%, 4.9%, 52.2%, 19.6%)
CIE-LABlab(77.81, -9.26, 49.41)
CIE-LCHlch(77.81, 50.27, 100.61°)
OKLaboklab(80.55% -0.0277 0.1163)
OKLCHoklch(80.55% 0.12 103.4)
XYZxyz(46.8979, 52.8927, 19.2918)
Luminance0.5289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC362 #626CCD
analogous
#CD8E62 #CDC362 #A1CD62
triadic
#CDC362 #62CDC3 #C362CD
tetradic
#CDC362 #62CD8E #626CCD #CD62A1
square
#CDC362 #62CD8E #626CCD #CD62A1
split-complementary
#CDC362 #62A1CD #8E62CD
monochromatic
#89802C #B7AC3A #CDC362 #DCD590 #EBE6BF

Accessibility & contrast

On white

1.81
#CDC362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CDC362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC362
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC362#FFFFFF#000000##000000
##CDC3621.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD59
Deuteranopia (green-blind)
#D5C367
Tritanopia (blue-blind)
#DAB8AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc362;
/* rgb */ color: rgb(205, 195, 98);
/* oklch */ color: oklch(80.6% 0.120 103.4);
Tailwind
colors: {
  custom: {
    50: '#ded491',
    500: '#cdc362',
    950: '#000000',
  },
}
SCSS
$custom: #cdc362;
$custom-light: #ded491;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc362",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 54.393,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80552,
    "c": 0.11958,
    "h": 103.4
  },
  "luminance": 0.52891
}

Semantic roles & 50–950 ramp

primary
#CDC362
secondary
#434B90
accent
#5ADB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC362

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

Preview Lab → · Contrast checker → · Palette generator →

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