#CDC33F#CDC33F

#CDC33F is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.2% C 0.148 H 105.0°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CDC33F
RGBrgb(205, 195, 63)
HSLhsl(56, 59%, 53%)
HSVhsv(56, 69%, 80%)
CMYKcmyk(0%, 4.9%, 69.3%, 19.6%)
CIE-LABlab(77.50, -11.63, 64.24)
CIE-LCHlch(77.50, 65.29, 100.26°)
OKLaboklab(80.21% -0.0383 0.1432)
OKLCHoklch(80.21% 0.148 105)
XYZxyz(45.5910, 52.3699, 12.4086)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC33F #3F49CD
analogous
#CD7C3F #CDC33F #90CD3F
triadic
#CDC33F #3FCDC3 #C33FCD
tetradic
#CDC33F #3FCD7C #3F49CD #CD3F90
square
#CDC33F #3FCD7C #3F49CD #CD3F90
split-complementary
#CDC33F #3F90CD #7C3FCD
monochromatic
#746E1E #A49C2B #CDC33F #DAD270 #E6E1A0

Accessibility & contrast

On white

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

On black

11.47
#CDC33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC33F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC33F#FFFFFF#000000##000000
##CDC33F1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#DCB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc33f;
/* rgb */ color: rgb(205, 195, 63);
/* oklch */ color: oklch(80.2% 0.148 105.0);
Tailwind
colors: {
  custom: {
    50: '#e0d47c',
    500: '#cdc33f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc33f;
$custom-light: #e0d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc33f",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 55.775,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80206,
    "c": 0.14822,
    "h": 105
  },
  "luminance": 0.52368
}

Semantic roles & 50–950 ramp

primary
#CDC33F
secondary
#34397C
accent
#51E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC33F

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

Preview Lab → · Contrast checker → · Palette generator →

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