#CDA833#CDA833

#CDA833 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.5% C 0.136 H 90.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CDA833
RGBrgb(205, 168, 51)
HSLhsl(46, 61%, 50%)
HSVhsv(46, 75%, 80%)
CMYKcmyk(0%, 18%, 75.1%, 19.6%)
CIE-LABlab(70.33, 1.88, 61.75)
CIE-LCHlch(70.33, 61.78, 88.26°)
OKLaboklab(74.5% -0.0012 0.1357)
OKLCHoklch(74.5% 0.136 90.5)
XYZxyz(39.7793, 41.2259, 8.9935)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA833 #3358CD
analogous
#CD5B33 #CDA833 #A5CD33
triadic
#CDA833 #33CDA8 #A833CD
tetradic
#CDA833 #33CD5B #3358CD #CD33A5
square
#CDA833 #33CD5B #3358CD #CD33A5
split-complementary
#CDA833 #33A5CD #5B33CD
monochromatic
#6B581A #9C8026 #CDA833 #D9BD64 #E5D295

Accessibility & contrast

On white

2.27
#CDA833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CDA833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA833
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA833#FFFFFF#000000##000000
##CDA8331.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61F
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#DE9A91
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cda833;
/* rgb */ color: rgb(205, 168, 51);
/* oklch */ color: oklch(74.5% 0.136 90.5);
Tailwind
colors: {
  custom: {
    50: '#e1c173',
    500: '#cda833',
    950: '#000000',
  },
}
SCSS
$custom: #cda833;
$custom-light: #e1c173;
$custom-dark: #000000;
JSON
{
  "hex": "#cda833",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 45.584,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.1357,
    "h": 90.5
  },
  "luminance": 0.41223
}

Semantic roles & 50–950 ramp

primary
#CDA833
secondary
#8B9CD0
accent
#6AE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA833

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

Preview Lab → · Contrast checker → · Palette generator →

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