#CDC146#CDC146

#CDC146 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.142 H 103.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CDC146
RGBrgb(205, 193, 70)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 5.9%, 65.9%, 19.6%)
CIE-LABlab(77.02, -10.23, 61.00)
CIE-LCHlch(77.02, 61.85, 99.52°)
OKLaboklab(79.84% -0.0336 0.1375)
OKLCHoklch(79.84% 0.142 103.7)
XYZxyz(45.3541, 51.5630, 13.3568)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC146 #4652CD
analogous
#CD7E46 #CDC146 #96CD46
triadic
#CDC146 #46CDC1 #C146CD
tetradic
#CDC146 #46CD7E #4652CD #CD4696
square
#CDC146 #46CD7E #4652CD #CD4696
split-complementary
#CDC146 #4696CD #7E46CD
monochromatic
#787020 #A89D2D #CDC146 #DAD176 #E7E1A6

Accessibility & contrast

On white

1.86
#CDC146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CDC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC146
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC146#FFFFFF#000000##000000
##CDC1461.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#DCB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc146;
/* rgb */ color: rgb(205, 193, 70);
/* oklch */ color: oklch(79.8% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e0d380',
    500: '#cdc146',
    950: '#000000',
  },
}
SCSS
$custom: #cdc146;
$custom-light: #e0d380;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc146",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 54.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79838,
    "c": 0.14155,
    "h": 103.7
  },
  "luminance": 0.51561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC146

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

Preview Lab → · Contrast checker → · Palette generator →

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