#CDC246#CDC246

#CDC246 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.142 H 104.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CDC246
RGBrgb(205, 194, 70)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 5.4%, 65.9%, 19.6%)
CIE-LABlab(77.28, -10.74, 61.28)
CIE-LCHlch(77.28, 62.21, 99.94°)
OKLaboklab(80.05% -0.035 0.1381)
OKLCHoklch(80.05% 0.142 104.2)
XYZxyz(45.5759, 52.0066, 13.4307)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC246 #4651CD
analogous
#CD7F46 #CDC246 #95CD46
triadic
#CDC246 #46CDC2 #C246CD
tetradic
#CDC246 #46CD7F #4651CD #CD4695
square
#CDC246 #46CD7F #4651CD #CD4695
split-complementary
#CDC246 #4695CD #7F46CD
monochromatic
#787120 #A89E2D #CDC246 #DAD276 #E7E2A6

Accessibility & contrast

On white

1.84
#CDC246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CDC246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC246
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC246#FFFFFF#000000##000000
##CDC2461.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#DCB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc246;
/* rgb */ color: rgb(205, 194, 70);
/* oklch */ color: oklch(80.0% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d480',
    500: '#cdc246',
    950: '#000000',
  },
}
SCSS
$custom: #cdc246;
$custom-light: #e0d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc246",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 55.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80049,
    "c": 0.14247,
    "h": 104.2
  },
  "luminance": 0.52005
}

Semantic roles & 50–950 ramp

primary
#CDC246
secondary
#373D80
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC246

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

Preview Lab → · Contrast checker → · Palette generator →

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