#CDAD38#CDAD38

#CDAD38 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.6% C 0.136 H 93.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CDAD38
RGBrgb(205, 173, 56)
HSLhsl(47, 60%, 51%)
HSVhsv(47, 73%, 80%)
CMYKcmyk(0%, 15.6%, 72.7%, 19.6%)
CIE-LABlab(71.66, -0.55, 61.15)
CIE-LCHlch(71.66, 61.15, 90.52°)
OKLaboklab(75.56% -0.0076 0.1354)
OKLCHoklch(75.56% 0.136 93.2)
XYZxyz(40.8364, 43.1542, 9.9193)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD38 #3858CD
analogous
#CD6238 #CDAD38 #A2CD38
triadic
#CDAD38 #38CDAD #AD38CD
tetradic
#CDAD38 #38CD62 #3858CD #CD38A2
square
#CDAD38 #38CD62 #3858CD #CD38A2
split-complementary
#CDAD38 #38A2CD #6238CD
monochromatic
#6F5D1C #A08628 #CDAD38 #D9C169 #E6D59A

Accessibility & contrast

On white

2.18
#CDAD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CDAD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD38
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD38#FFFFFF#000000##000000
##CDAD381.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA26
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#DE9F96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad38;
/* rgb */ color: rgb(205, 173, 56);
/* oklch */ color: oklch(75.6% 0.136 93.2);
Tailwind
colors: {
  custom: {
    50: '#e0c576',
    500: '#cdad38',
    950: '#000000',
  },
}
SCSS
$custom: #cdad38;
$custom-light: #e0c576;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad38",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 47.114,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75558,
    "c": 0.13559,
    "h": 93.2
  },
  "luminance": 0.43152
}

Semantic roles & 50–950 ramp

primary
#CDAD38
secondary
#8F9ED1
accent
#67E345
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAD38

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

Preview Lab → · Contrast checker → · Palette generator →

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