#CDC267#CDC267

#CDC267 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.114 H 102.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CDC267
RGBrgb(205, 194, 103)
HSLhsl(54, 50%, 60%)
HSVhsv(54, 50%, 80%)
CMYKcmyk(0%, 5.4%, 49.8%, 19.6%)
CIE-LABlab(77.60, -8.31, 46.76)
CIE-LCHlch(77.60, 47.49, 100.08°)
OKLaboklab(80.41% -0.0245 0.111)
OKLCHoklch(80.41% 0.114 102.4)
XYZxyz(46.9181, 52.5435, 20.4998)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC267 #6772CD
analogous
#CD8F67 #CDC267 #A5CD67
triadic
#CDC267 #67CDC2 #C267CD
tetradic
#CDC267 #67CD8F #6772CD #CD67A5
square
#CDC267 #67CD8F #6772CD #CD67A5
split-complementary
#CDC267 #67A5CD #8F67CD
monochromatic
#8C822E #BAAC3D #CDC267 #DCD495 #EBE7C3

Accessibility & contrast

On white

1.82
#CDC267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CDC267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC267
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC267#FFFFFF#000000##000000
##CDC2671.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD5F
Deuteranopia (green-blind)
#D4C26B
Tritanopia (blue-blind)
#DAB7AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc267;
/* rgb */ color: rgb(205, 194, 103);
/* oklch */ color: oklch(80.4% 0.114 102.4);
Tailwind
colors: {
  custom: {
    50: '#ded494',
    500: '#cdc267',
    950: '#000000',
  },
}
SCSS
$custom: #cdc267;
$custom-light: #ded494;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc267",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 103
  },
  "hsl": {
    "h": 53.529,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80406,
    "c": 0.11365,
    "h": 102.4
  },
  "luminance": 0.52542
}

Semantic roles & 50–950 ramp

primary
#CDC267
secondary
#464E92
accent
#38BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC267

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

Preview Lab → · Contrast checker → · Palette generator →

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