#CDA733#CDA733

#CDA733 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.3% C 0.135 H 89.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CDA733
RGBrgb(205, 167, 51)
HSLhsl(45, 61%, 50%)
HSVhsv(45, 75%, 80%)
CMYKcmyk(0%, 18.5%, 75.1%, 19.6%)
CIE-LABlab(70.08, 2.41, 61.51)
CIE-LCHlch(70.08, 61.55, 87.76°)
OKLaboklab(74.3% 0.0003 0.1352)
OKLCHoklch(74.3% 0.135 89.9)
XYZxyz(39.5954, 40.8581, 8.9322)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA733 #3359CD
analogous
#CD5A33 #CDA733 #A6CD33
triadic
#CDA733 #33CDA7 #A733CD
tetradic
#CDA733 #33CD5A #3359CD #CD33A6
square
#CDA733 #33CD5A #3359CD #CD33A6
split-complementary
#CDA733 #33A6CD #5A33CD
monochromatic
#6B571A #9C7F26 #CDA733 #D9BC64 #E5D195

Accessibility & contrast

On white

2.29
#CDA733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CDA733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA733
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA733#FFFFFF#000000##000000
##CDA7331.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#DE9990
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cda733;
/* rgb */ color: rgb(205, 167, 51);
/* oklch */ color: oklch(74.3% 0.135 89.9);
Tailwind
colors: {
  custom: {
    50: '#e1c073',
    500: '#cda733',
    950: '#000000',
  },
}
SCSS
$custom: #cda733;
$custom-light: #e1c073;
$custom-dark: #000000;
JSON
{
  "hex": "#cda733",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 45.195,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74299,
    "c": 0.13517,
    "h": 89.9
  },
  "luminance": 0.40856
}

Semantic roles & 50–950 ramp

primary
#CDA733
secondary
#8B9CD0
accent
#6BE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CDA733

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

Preview Lab → · Contrast checker → · Palette generator →

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