#CDB745#CDB745

#CDB745 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.7% C 0.134 H 98.2°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#CDB745
RGBrgb(205, 183, 69)
HSLhsl(50, 58%, 54%)
HSVhsv(50, 66%, 80%)
CMYKcmyk(0%, 10.7%, 66.3%, 19.6%)
CIE-LABlab(74.37, -5.12, 58.65)
CIE-LCHlch(74.37, 58.88, 94.99°)
OKLaboklab(77.73% -0.0192 0.1324)
OKLCHoklch(77.73% 0.134 98.2)
XYZxyz(43.1864, 47.2778, 12.4798)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB745 #455BCD
analogous
#CD7345 #CDB745 #9FCD45
triadic
#CDB745 #45CDB7 #B745CD
tetradic
#CDB745 #45CD73 #455BCD #CD459F
square
#CDB745 #45CD73 #455BCD #CD459F
split-complementary
#CDB745 #459FCD #7345CD
monochromatic
#776920 #A8942D #CDB745 #DACA75 #E7DCA5

Accessibility & contrast

On white

2.01
#CDB745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#CDB745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB745
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB745#FFFFFF#000000##000000
##CDB7451.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B336
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#DDAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb745;
/* rgb */ color: rgb(205, 183, 69);
/* oklch */ color: oklch(77.7% 0.134 98.2);
Tailwind
colors: {
  custom: {
    50: '#e0cc7e',
    500: '#cdb745',
    950: '#000000',
  },
}
SCSS
$custom: #cdb745;
$custom-light: #e0cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb745",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 50.294,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7773,
    "c": 0.13377,
    "h": 98.2
  },
  "luminance": 0.47276
}

Semantic roles & 50–950 ramp

primary
#CDB745
secondary
#9AA3D4
accent
#60E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB745

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

Preview Lab → · Contrast checker → · Palette generator →

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