#CDC346#CDC346

#CDC346 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.143 H 104.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CDC346
RGBrgb(205, 195, 70)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 66%, 80%)
CMYKcmyk(0%, 4.9%, 65.9%, 19.6%)
CIE-LABlab(77.55, -11.25, 61.55)
CIE-LCHlch(77.55, 62.57, 100.35°)
OKLaboklab(80.26% -0.0365 0.1387)
OKLCHoklch(80.26% 0.143 104.7)
XYZxyz(45.7992, 52.4532, 13.5052)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC346 #4650CD
analogous
#CD8046 #CDC346 #94CD46
triadic
#CDC346 #46CDC3 #C346CD
tetradic
#CDC346 #46CD80 #4650CD #CD4694
square
#CDC346 #46CD80 #4650CD #CD4694
split-complementary
#CDC346 #4694CD #8046CD
monochromatic
#787220 #A89F2D #CDC346 #DAD376 #E7E2A6

Accessibility & contrast

On white

1.83
#CDC346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CDC346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC346
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC346#FFFFFF#000000##000000
##CDC3461.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#DCB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc346;
/* rgb */ color: rgb(205, 195, 70);
/* oklch */ color: oklch(80.3% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d480',
    500: '#cdc346',
    950: '#000000',
  },
}
SCSS
$custom: #cdc346;
$custom-light: #e0d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc346",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 55.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80261,
    "c": 0.14339,
    "h": 104.7
  },
  "luminance": 0.52452
}

Semantic roles & 50–950 ramp

primary
#CDC346
secondary
#373C80
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC346

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

Preview Lab → · Contrast checker → · Palette generator →

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