#CDB245#CDB245

#CDB245 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.130 H 95.2°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CDB245
RGBrgb(205, 178, 69)
HSLhsl(48, 58%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 13.2%, 66.3%, 19.6%)
CIE-LABlab(73.06, -2.51, 57.28)
CIE-LCHlch(73.06, 57.34, 92.51°)
OKLaboklab(76.69% -0.0117 0.1295)
OKLCHoklch(76.69% 0.13 95.2)
XYZxyz(42.1734, 45.2518, 12.1421)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB245 #4560CD
analogous
#CD6E45 #CDB245 #A4CD45
triadic
#CDB245 #45CDB2 #B245CD
tetradic
#CDB245 #45CD6E #4560CD #CD45A4
square
#CDB245 #45CD6E #4560CD #CD45A4
split-complementary
#CDB245 #45A4CD #6E45CD
monochromatic
#776620 #A88F2D #CDB245 #DAC675 #E7DAA5

Accessibility & contrast

On white

2.09
#CDB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CDB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB245
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB245#FFFFFF#000000##000000
##CDB2451.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE37
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb245;
/* rgb */ color: rgb(205, 178, 69);
/* oklch */ color: oklch(76.7% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#e0c87e',
    500: '#cdb245',
    950: '#000000',
  },
}
SCSS
$custom: #cdb245;
$custom-light: #e0c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb245",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 48.088,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76694,
    "c": 0.13001,
    "h": 95.2
  },
  "luminance": 0.4525
}

Semantic roles & 50–950 ramp

primary
#CDB245
secondary
#9AA5D4
accent
#65E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB245

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

Preview Lab → · Contrast checker → · Palette generator →

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