#CDA938#CDA938

#CDA938 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.7% C 0.133 H 90.7°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CDA938
RGBrgb(205, 169, 56)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 73%, 80%)
CMYKcmyk(0%, 17.6%, 72.7%, 19.6%)
CIE-LABlab(70.62, 1.57, 60.13)
CIE-LCHlch(70.62, 60.15, 88.51°)
OKLaboklab(74.74% -0.0015 0.1332)
OKLCHoklch(74.74% 0.133 90.7)
XYZxyz(40.0809, 41.6430, 9.6674)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA938 #385CCD
analogous
#CD5E38 #CDA938 #A6CD38
triadic
#CDA938 #38CDA9 #A938CD
tetradic
#CDA938 #38CD5E #385CCD #CD38A6
square
#CDA938 #38CD5E #385CCD #CD38A6
split-complementary
#CDA938 #38A6CD #5E38CD
monochromatic
#6F5B1C #A08328 #CDA938 #D9BE69 #E6D39A

Accessibility & contrast

On white

2.25
#CDA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CDA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA938
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA938#FFFFFF#000000##000000
##CDA9381.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#DE9B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cda938;
/* rgb */ color: rgb(205, 169, 56);
/* oklch */ color: oklch(74.7% 0.133 90.7);
Tailwind
colors: {
  custom: {
    50: '#e0c276',
    500: '#cda938',
    950: '#000000',
  },
}
SCSS
$custom: #cda938;
$custom-light: #e0c276;
$custom-dark: #000000;
JSON
{
  "hex": "#cda938",
  "rgb": {
    "r": 205,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 45.503,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.13323,
    "h": 90.7
  },
  "luminance": 0.41641
}

Semantic roles & 50–950 ramp

primary
#CDA938
secondary
#8F9FD1
accent
#6BE345
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA938

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

Preview Lab → · Contrast checker → · Palette generator →

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