#CDB045#CDB045

#CDB045 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.129 H 93.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CDB045
RGBrgb(205, 176, 69)
HSLhsl(47, 58%, 54%)
HSVhsv(47, 66%, 80%)
CMYKcmyk(0%, 14.1%, 66.3%, 19.6%)
CIE-LABlab(72.54, -1.45, 56.73)
CIE-LCHlch(72.54, 56.75, 91.47°)
OKLaboklab(76.28% -0.0087 0.1283)
OKLCHoklch(76.28% 0.129 93.9)
XYZxyz(41.7784, 44.4617, 12.0105)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB045 #4562CD
analogous
#CD6C45 #CDB045 #A6CD45
triadic
#CDB045 #45CDB0 #B045CD
tetradic
#CDB045 #45CD6C #4562CD #CD45A6
square
#CDB045 #45CD6C #4562CD #CD45A6
split-complementary
#CDB045 #45A6CD #6C45CD
monochromatic
#776520 #A88E2D #CDB045 #DAC475 #E7D9A5

Accessibility & contrast

On white

2.12
#CDB045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CDB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB045
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB045#FFFFFF#000000##000000
##CDB0451.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#DDA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb045;
/* rgb */ color: rgb(205, 176, 69);
/* oklch */ color: oklch(76.3% 0.129 93.9);
Tailwind
colors: {
  custom: {
    50: '#e0c77e',
    500: '#cdb045',
    950: '#000000',
  },
}
SCSS
$custom: #cdb045;
$custom-light: #e0c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb045",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 47.206,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76281,
    "c": 0.12861,
    "h": 93.9
  },
  "luminance": 0.44459
}

Semantic roles & 50–950 ramp

primary
#CDB045
secondary
#9AA6D4
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB045

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

Preview Lab → · Contrast checker → · Palette generator →

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