#CDA93B#CDA93B

#CDA93B is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.8% C 0.131 H 90.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CDA93B
RGBrgb(205, 169, 59)
HSLhsl(45, 59%, 52%)
HSVhsv(45, 71%, 80%)
CMYKcmyk(0%, 17.6%, 71.2%, 19.6%)
CIE-LABlab(70.65, 1.71, 58.96)
CIE-LCHlch(70.65, 58.98, 88.34°)
OKLaboklab(74.76% -0.0008 0.1313)
OKLCHoklch(74.76% 0.131 90.3)
XYZxyz(40.1564, 41.6733, 10.0655)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA93B #3B5FCD
analogous
#CD603B #CDA93B #A8CD3B
triadic
#CDA93B #3BCDA9 #A93BCD
tetradic
#CDA93B #3BCD60 #3B5FCD #CD3BA8
square
#CDA93B #3BCD60 #3B5FCD #CD3BA8
split-complementary
#CDA93B #3BA8CD #603BCD
monochromatic
#715C1D #A28429 #CDA93B #D9BE6C #E6D49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDA93B#FFFFFF#000000##000000
##CDA93B1.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)
#BCA72B
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#DE9B93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cda93b;
/* rgb */ color: rgb(205, 169, 59);
/* oklch */ color: oklch(74.8% 0.131 90.3);
Tailwind
colors: {
  custom: {
    50: '#e0c277',
    500: '#cda93b',
    950: '#000000',
  },
}
SCSS
$custom: #cda93b;
$custom-light: #e0c277;
$custom-dark: #000000;
JSON
{
  "hex": "#cda93b",
  "rgb": {
    "r": 205,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 45.205,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74764,
    "c": 0.1313,
    "h": 90.3
  },
  "luminance": 0.41671
}

Semantic roles & 50–950 ramp

primary
#CDA93B
secondary
#92A2D2
accent
#6CE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA93B

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

Preview Lab → · Contrast checker → · Palette generator →

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