#CDC143#CDC143

#CDC143 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.144 H 103.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CDC143
RGBrgb(205, 193, 67)
HSLhsl(55, 58%, 53%)
HSVhsv(55, 67%, 80%)
CMYKcmyk(0%, 5.9%, 67.3%, 19.6%)
CIE-LABlab(77.00, -10.40, 62.18)
CIE-LCHlch(77.00, 63.05, 99.49°)
OKLaboklab(79.81% -0.0344 0.1395)
OKLCHoklch(79.81% 0.144 103.8)
XYZxyz(45.2617, 51.5261, 12.8705)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC143 #434FCD
analogous
#CD7C43 #CDC143 #94CD43
triadic
#CDC143 #43CDC1 #C143CD
tetradic
#CDC143 #43CD7C #434FCD #CD4394
square
#CDC143 #43CD7C #434FCD #CD4394
split-complementary
#CDC143 #4394CD #7C43CD
monochromatic
#766F1F #A79C2C #CDC143 #DAD173 #E7E1A4

Accessibility & contrast

On white

1.86
#CDC143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CDC143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC143
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC143#FFFFFF#000000##000000
##CDC1431.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#DCB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc143;
/* rgb */ color: rgb(205, 193, 67);
/* oklch */ color: oklch(79.8% 0.144 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0d37e',
    500: '#cdc143',
    950: '#000000',
  },
}
SCSS
$custom: #cdc143;
$custom-light: #e0d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc143",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 54.783,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79813,
    "c": 0.1437,
    "h": 103.8
  },
  "luminance": 0.51524
}

Semantic roles & 50–950 ramp

primary
#CDC143
secondary
#363C7F
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC143

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

Preview Lab → · Contrast checker → · Palette generator →

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