#CDC243#CDC243

#CDC243 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.145 H 104.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CDC243
RGBrgb(205, 194, 67)
HSLhsl(55, 58%, 53%)
HSVhsv(55, 67%, 80%)
CMYKcmyk(0%, 5.4%, 67.3%, 19.6%)
CIE-LABlab(77.26, -10.91, 62.46)
CIE-LCHlch(77.26, 63.40, 99.90°)
OKLaboklab(80.03% -0.0358 0.1401)
OKLCHoklch(80.03% 0.145 104.4)
XYZxyz(45.4835, 51.9697, 12.9444)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC243 #434ECD
analogous
#CD7D43 #CDC243 #93CD43
triadic
#CDC243 #43CDC2 #C243CD
tetradic
#CDC243 #43CD7D #434ECD #CD4393
square
#CDC243 #43CD7D #434ECD #CD4393
split-complementary
#CDC243 #4393CD #7D43CD
monochromatic
#766F1F #A79D2C #CDC243 #DAD273 #E7E1A4

Accessibility & contrast

On white

1.84
#CDC243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CDC243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC243
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC243#FFFFFF#000000##000000
##CDC2431.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB31
Deuteranopia (green-blind)
#D6C24B
Tritanopia (blue-blind)
#DCB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc243;
/* rgb */ color: rgb(205, 194, 67);
/* oklch */ color: oklch(80.0% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#e0d47e',
    500: '#cdc243',
    950: '#000000',
  },
}
SCSS
$custom: #cdc243;
$custom-light: #e0d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc243",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 55.217,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80025,
    "c": 0.1446,
    "h": 104.4
  },
  "luminance": 0.51968
}

Semantic roles & 50–950 ramp

primary
#CDC243
secondary
#363B7F
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC243

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

Preview Lab → · Contrast checker → · Palette generator →

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