#CDC741#CDC741

#CDC741 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.151 H 106.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CDC741
RGBrgb(205, 199, 65)
HSLhsl(57, 58%, 53%)
HSVhsv(57, 68%, 80%)
CMYKcmyk(0%, 2.9%, 68.3%, 19.6%)
CIE-LABlab(78.58, -13.55, 64.57)
CIE-LCHlch(78.58, 65.97, 101.85°)
OKLaboklab(81.07% -0.0435 0.1442)
OKLCHoklch(81.07% 0.151 106.8)
XYZxyz(46.5561, 54.2092, 13.0110)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC741 #4147CD
analogous
#CD8141 #CDC741 #8DCD41
triadic
#CDC741 #41CDC7 #C741CD
tetradic
#CDC741 #41CD81 #4147CD #CD418D
square
#CDC741 #41CD81 #4147CD #CD418D
split-complementary
#CDC741 #418DCD #8141CD
monochromatic
#75711F #A5A02C #CDC741 #DAD571 #E6E4A2

Accessibility & contrast

On white

1.77
#CDC741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CDC741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC741
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC741#FFFFFF#000000##000000
##CDC7411.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#DCBAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc741;
/* rgb */ color: rgb(205, 199, 65);
/* oklch */ color: oklch(81.1% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#e0d77d',
    500: '#cdc741',
    950: '#000000',
  },
}
SCSS
$custom: #cdc741;
$custom-light: #e0d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc741",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 57.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81072,
    "c": 0.15063,
    "h": 106.8
  },
  "luminance": 0.54208
}

Semantic roles & 50–950 ramp

primary
#CDC741
secondary
#35387D
accent
#4DE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC741

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

Preview Lab → · Contrast checker → · Palette generator →

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