#CDC046#CDC046

#CDC046 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.141 H 103.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CDC046
RGBrgb(205, 192, 70)
HSLhsl(54, 57%, 54%)
HSVhsv(54, 66%, 80%)
CMYKcmyk(0%, 6.3%, 65.9%, 19.6%)
CIE-LABlab(76.75, -9.71, 60.73)
CIE-LCHlch(76.75, 61.50, 99.09°)
OKLaboklab(79.63% -0.0321 0.1369)
OKLCHoklch(79.63% 0.141 103.2)
XYZxyz(45.1338, 51.1224, 13.2834)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC046 #4653CD
analogous
#CD7D46 #CDC046 #97CD46
triadic
#CDC046 #46CDC0 #C046CD
tetradic
#CDC046 #46CD7D #4653CD #CD4697
square
#CDC046 #46CD7D #4653CD #CD4697
split-complementary
#CDC046 #4697CD #7D46CD
monochromatic
#787020 #A89C2D #CDC046 #DAD076 #E7E1A6

Accessibility & contrast

On white

1.87
#CDC046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CDC046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC046
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC046#FFFFFF#000000##000000
##CDC0461.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA36
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#DCB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdc046;
/* rgb */ color: rgb(205, 192, 70);
/* oklch */ color: oklch(79.6% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#e0d280',
    500: '#cdc046',
    950: '#000000',
  },
}
SCSS
$custom: #cdc046;
$custom-light: #e0d280;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc046",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 54.222,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79626,
    "c": 0.14065,
    "h": 103.2
  },
  "luminance": 0.51121
}

Semantic roles & 50–950 ramp

primary
#CDC046
secondary
#373E80
accent
#56E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC046

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

Preview Lab → · Contrast checker → · Palette generator →

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