#CDC292#CDC292

#CDC292 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.065 H 96.7°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CDC292
RGBrgb(205, 194, 146)
HSLhsl(49, 37%, 69%)
HSVhsv(49, 29%, 80%)
CMYKcmyk(0%, 5.4%, 28.8%, 19.6%)
CIE-LABlab(78.25, -3.55, 25.59)
CIE-LCHlch(78.25, 25.84, 97.90°)
OKLaboklab(81.13% -0.0076 0.0645)
OKLCHoklch(81.13% 0.065 96.7)
XYZxyz(49.6573, 53.6392, 34.9261)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC292 #929DCD
analogous
#CDA592 #CDC292 #BBCD92
triadic
#CDC292 #92CDC2 #C292CD
tetradic
#CDC292 #92CDA5 #929DCD #CD92BB
square
#CDC292 #92CDA5 #929DCD #CD92BB
split-complementary
#CDC292 #92BBCD #A592CD
monochromatic
#9D8D48 #BAAB68 #CDC292 #E0D9BC #F3F1E6

Accessibility & contrast

On white

1.79
#CDC292 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CDC292 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC292
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC292#FFFFFF#000000##000000
##CDC2921.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBF8F
Deuteranopia (green-blind)
#CFC394
Tritanopia (blue-blind)
#D6BBB5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc292;
/* rgb */ color: rgb(205, 194, 146);
/* oklch */ color: oklch(81.1% 0.065 96.7);
Tailwind
colors: {
  custom: {
    50: '#ddd4b2',
    500: '#cdc292',
    950: '#000000',
  },
}
SCSS
$custom: #cdc292;
$custom-light: #ddd4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc292",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 146
  },
  "hsl": {
    "h": 48.814,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81129,
    "c": 0.06491,
    "h": 96.7
  },
  "luminance": 0.53638
}

Semantic roles & 50–950 ramp

primary
#CDC292
secondary
#616DA2
accent
#4CB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CDC292

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

Preview Lab → · Contrast checker → · Palette generator →

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