#CDB93F#CDB93F

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

Color values

HEX#CDB93F
RGBrgb(205, 185, 63)
HSLhsl(52, 59%, 53%)
HSVhsv(52, 69%, 80%)
CMYKcmyk(0%, 9.8%, 69.3%, 19.6%)
CIE-LABlab(74.85, -6.49, 61.59)
CIE-LCHlch(74.85, 61.93, 96.02°)
OKLaboklab(78.1% -0.0237 0.1376)
OKLCHoklch(78.1% 0.14 99.8)
XYZxyz(43.4250, 48.0379, 11.6866)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB93F #3F53CD
analogous
#CD723F #CDB93F #9ACD3F
triadic
#CDB93F #3FCDB9 #B93FCD
tetradic
#CDB93F #3FCD72 #3F53CD #CD3F9A
square
#CDB93F #3FCD72 #3F53CD #CD3F9A
split-complementary
#CDB93F #3F9ACD #723FCD
monochromatic
#74671E #A4932B #CDB93F #DACB70 #E6DCA0

Accessibility & contrast

On white

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

On black

10.61
#CDB93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB93F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB93F#FFFFFF#000000##000000
##CDB93F1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb93f;
/* rgb */ color: rgb(205, 185, 63);
/* oklch */ color: oklch(78.1% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#e0cd7b',
    500: '#cdb93f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb93f;
$custom-light: #e0cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb93f",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 51.549,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78098,
    "c": 0.13962,
    "h": 99.8
  },
  "luminance": 0.48036
}

Semantic roles & 50–950 ramp

primary
#CDB93F
secondary
#959ED3
accent
#5CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB93F

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

Preview Lab → · Contrast checker → · Palette generator →

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