#CDB249#CDB249

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

Color values

HEX#CDB249
RGBrgb(205, 178, 73)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 64%, 80%)
CMYKcmyk(0%, 13.2%, 64.4%, 19.6%)
CIE-LABlab(73.09, -2.27, 55.58)
CIE-LCHlch(73.09, 55.63, 92.33°)
OKLaboklab(76.73% -0.0105 0.1265)
OKLCHoklch(76.73% 0.127 94.8)
XYZxyz(42.3018, 45.3031, 12.8183)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB249 #4964CD
analogous
#CD7049 #CDB249 #A6CD49
triadic
#CDB249 #49CDB2 #B249CD
tetradic
#CDB249 #49CD70 #4964CD #CD49A6
square
#CDB249 #49CD70 #4964CD #CD49A6
split-complementary
#CDB249 #49A6CD #7049CD
monochromatic
#7A6822 #AA912F #CDB249 #DAC679 #E7DBA9

Accessibility & contrast

On white

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

On black

10.06
#CDB249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB249
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB249#FFFFFF#000000##000000
##CDB2491.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3D
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#DDA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb249;
/* rgb */ color: rgb(205, 178, 73);
/* oklch */ color: oklch(76.7% 0.127 94.8);
Tailwind
colors: {
  custom: {
    50: '#e0c880',
    500: '#cdb249',
    950: '#000000',
  },
}
SCSS
$custom: #cdb249;
$custom-light: #e0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb249",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 47.727,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76731,
    "c": 0.12695,
    "h": 94.8
  },
  "luminance": 0.45301
}

Semantic roles & 50–950 ramp

primary
#CDB249
secondary
#9DA8D5
accent
#67E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB249

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

Preview Lab → · Contrast checker → · Palette generator →

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