#CDC367#CDC367

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

Color values

HEX#CDC367
RGBrgb(205, 195, 103)
HSLhsl(54, 50%, 60%)
HSVhsv(54, 50%, 80%)
CMYKcmyk(0%, 4.9%, 49.8%, 19.6%)
CIE-LABlab(77.87, -8.82, 47.08)
CIE-LCHlch(77.87, 47.90, 100.62°)
OKLaboklab(80.62% -0.0259 0.1117)
OKLCHoklch(80.62% 0.115 103.1)
XYZxyz(47.1414, 52.9901, 20.5742)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC367 #6771CD
analogous
#CD9067 #CDC367 #A4CD67
triadic
#CDC367 #67CDC3 #C367CD
tetradic
#CDC367 #67CD90 #6771CD #CD67A4
square
#CDC367 #67CD90 #6771CD #CD67A4
split-complementary
#CDC367 #67A4CD #9067CD
monochromatic
#8C822E #BAAD3D #CDC367 #DCD595 #EBE7C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC367#FFFFFF#000000##000000
##CDC3671.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)
#D1BE5F
Deuteranopia (green-blind)
#D5C36B
Tritanopia (blue-blind)
#DAB8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc367;
/* rgb */ color: rgb(205, 195, 103);
/* oklch */ color: oklch(80.6% 0.115 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded594',
    500: '#cdc367',
    950: '#000000',
  },
}
SCSS
$custom: #cdc367;
$custom-light: #ded594;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc367",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 103
  },
  "hsl": {
    "h": 54.118,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80616,
    "c": 0.11466,
    "h": 103.1
  },
  "luminance": 0.52989
}

Semantic roles & 50–950 ramp

primary
#CDC367
secondary
#464D92
accent
#36BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC367

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

Preview Lab → · Contrast checker → · Palette generator →

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