#CDB93E#CDB93E

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

Color values

HEX#CDB93E
RGBrgb(205, 185, 62)
HSLhsl(52, 59%, 52%)
HSVhsv(52, 70%, 80%)
CMYKcmyk(0%, 9.8%, 69.8%, 19.6%)
CIE-LABlab(74.84, -6.54, 61.97)
CIE-LCHlch(74.84, 62.32, 96.03°)
OKLaboklab(78.09% -0.024 0.1382)
OKLCHoklch(78.09% 0.14 99.9)
XYZxyz(43.3973, 48.0269, 11.5407)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB93E #3E52CD
analogous
#CD713E #CDB93E #9ACD3E
triadic
#CDB93E #3ECDB9 #B93ECD
tetradic
#CDB93E #3ECD71 #3E52CD #CD3E9A
square
#CDB93E #3ECD71 #3E52CD #CD3E9A
split-complementary
#CDB93E #3E9ACD #713ECD
monochromatic
#73671E #A3932A #CDB93E #DACB6F #E6DC9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB93E#FFFFFF#000000##000000
##CDB93E1.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)
#CAB42C
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#DDACA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb93e;
/* rgb */ color: rgb(205, 185, 62);
/* oklch */ color: oklch(78.1% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#e0cd7a',
    500: '#cdb93e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb93e;
$custom-light: #e0cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb93e",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 62
  },
  "hsl": {
    "h": 51.608,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7809,
    "c": 0.1403,
    "h": 99.9
  },
  "luminance": 0.48025
}

Semantic roles & 50–950 ramp

primary
#CDB93E
secondary
#949DD3
accent
#5CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB93E

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

Preview Lab → · Contrast checker → · Palette generator →

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