#CDC283#CDC283

#CDC283 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.083 H 99.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CDC283
RGBrgb(205, 194, 131)
HSLhsl(51, 43%, 66%)
HSVhsv(51, 36%, 80%)
CMYKcmyk(0%, 5.4%, 36.1%, 19.6%)
CIE-LABlab(77.99, -5.42, 33.12)
CIE-LCHlch(77.99, 33.56, 99.29°)
OKLaboklab(80.84% -0.0137 0.0818)
OKLCHoklch(80.84% 0.083 99.5)
XYZxyz(48.5661, 53.2027, 29.1791)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC283 #838ECD
analogous
#CD9D83 #CDC283 #B3CD83
triadic
#CDC283 #83CDC2 #C283CD
tetradic
#CDC283 #83CD9D #838ECD #CD83B3
square
#CDC283 #83CD9D #838ECD #CD83B3
split-complementary
#CDC283 #83B3CD #9D83CD
monochromatic
#988B3D #BBAD57 #CDC283 #DFD7AF #F0EDDA

Accessibility & contrast

On white

1.80
#CDC283 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CDC283 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC283
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC283#FFFFFF#000000##000000
##CDC2831.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7F
Deuteranopia (green-blind)
#D1C385
Tritanopia (blue-blind)
#D8B9B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc283;
/* rgb */ color: rgb(205, 194, 131);
/* oklch */ color: oklch(80.8% 0.083 99.5);
Tailwind
colors: {
  custom: {
    50: '#ddd4a7',
    500: '#cdc283',
    950: '#000000',
  },
}
SCSS
$custom: #cdc283;
$custom-light: #ddd4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc283",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 131
  },
  "hsl": {
    "h": 51.081,
    "s": 42.529,
    "l": 65.882
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.08296,
    "h": 99.5
  },
  "luminance": 0.53201
}

Semantic roles & 50–950 ramp

primary
#CDC283
secondary
#56619E
accent
#44B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC283

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

Preview Lab → · Contrast checker → · Palette generator →

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