#CDC368#CDC368

#CDC368 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.114 H 103.0°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CDC368
RGBrgb(205, 195, 104)
HSLhsl(54, 50%, 61%)
HSVhsv(54, 49%, 80%)
CMYKcmyk(0%, 4.9%, 49.3%, 19.6%)
CIE-LABlab(77.88, -8.73, 46.60)
CIE-LCHlch(77.88, 47.42, 100.62°)
OKLaboklab(80.63% -0.0256 0.1107)
OKLCHoklch(80.63% 0.114 103)
XYZxyz(47.1919, 53.0103, 20.8401)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC368 #6872CD
analogous
#CD9068 #CDC368 #A5CD68
triadic
#CDC368 #68CDC3 #C368CD
tetradic
#CDC368 #68CD90 #6872CD #CD68A5
square
#CDC368 #68CD90 #6872CD #CD68A5
split-complementary
#CDC368 #68A5CD #9068CD
monochromatic
#8C832E #BAAE3E #CDC368 #DCD596 #EBE8C4

Accessibility & contrast

On white

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

On black

11.60
#CDC368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC368
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC368#FFFFFF#000000##000000
##CDC3681.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#DAB8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc368;
/* rgb */ color: rgb(205, 195, 104);
/* oklch */ color: oklch(80.6% 0.114 103.0);
Tailwind
colors: {
  custom: {
    50: '#ded595',
    500: '#cdc368',
    950: '#000000',
  },
}
SCSS
$custom: #cdc368;
$custom-light: #ded595;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc368",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 104
  },
  "hsl": {
    "h": 54.059,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8063,
    "c": 0.11364,
    "h": 103
  },
  "luminance": 0.53009
}

Semantic roles & 50–950 ramp

primary
#CDC368
secondary
#464E93
accent
#37BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC368

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

Preview Lab → · Contrast checker → · Palette generator →

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