#CDB93D#CDB93D

#CDB93D is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.141 H 99.9°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CDB93D
RGBrgb(205, 185, 61)
HSLhsl(52, 59%, 52%)
HSVhsv(52, 70%, 80%)
CMYKcmyk(0%, 9.8%, 70.2%, 19.6%)
CIE-LABlab(74.83, -6.60, 62.36)
CIE-LCHlch(74.83, 62.70, 96.04°)
OKLaboklab(78.08% -0.0243 0.1389)
OKLCHoklch(78.08% 0.141 99.9)
XYZxyz(43.3701, 48.0160, 11.3975)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB93D #3D51CD
analogous
#CD713D #CDB93D #99CD3D
triadic
#CDB93D #3DCDB9 #B93DCD
tetradic
#CDB93D #3DCD71 #3D51CD #CD3D99
square
#CDB93D #3DCD71 #3D51CD #CD3D99
split-complementary
#CDB93D #3D99CD #713DCD
monochromatic
#72661D #A3922A #CDB93D #DACB6E #E6DC9E

Accessibility & contrast

On white

1.98
#CDB93D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CDB93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB93D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB93D#FFFFFF#000000##000000
##CDB93D1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42A
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#DDACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb93d;
/* rgb */ color: rgb(205, 185, 61);
/* oklch */ color: oklch(78.1% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e0cd7a',
    500: '#cdb93d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb93d;
$custom-light: #e0cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb93d",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 61
  },
  "hsl": {
    "h": 51.667,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78083,
    "c": 0.14096,
    "h": 99.9
  },
  "luminance": 0.48014
}

Semantic roles & 50–950 ramp

primary
#CDB93D
secondary
#939CD2
accent
#5BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB93D

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

Preview Lab → · Contrast checker → · Palette generator →

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