#CDC746#CDC746

#CDC746 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.147 H 106.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CDC746
RGBrgb(205, 199, 70)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 66%, 80%)
CMYKcmyk(0%, 2.9%, 65.9%, 19.6%)
CIE-LABlab(78.62, -13.27, 62.65)
CIE-LCHlch(78.62, 64.05, 101.96°)
OKLaboklab(81.11% -0.0422 0.141)
OKLCHoklch(81.11% 0.147 106.7)
XYZxyz(46.7074, 54.2697, 13.8079)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC746 #464CCD
analogous
#CD8446 #CDC746 #90CD46
triadic
#CDC746 #46CDC7 #C746CD
tetradic
#CDC746 #46CD84 #464CCD #CD4690
square
#CDC746 #46CD84 #464CCD #CD4690
split-complementary
#CDC746 #4690CD #8446CD
monochromatic
#787420 #A8A32D #CDC746 #DAD676 #E7E4A6

Accessibility & contrast

On white

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

On black

11.85
#CDC746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC746
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC746#FFFFFF#000000##000000
##CDC7461.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C034
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc746;
/* rgb */ color: rgb(205, 199, 70);
/* oklch */ color: oklch(81.1% 0.147 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd780',
    500: '#cdc746',
    950: '#000000',
  },
}
SCSS
$custom: #cdc746;
$custom-light: #dfd780;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc746",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 57.333,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81111,
    "c": 0.14719,
    "h": 106.7
  },
  "luminance": 0.54268
}

Semantic roles & 50–950 ramp

primary
#CDC746
secondary
#373A80
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC746

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

Preview Lab → · Contrast checker → · Palette generator →

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