#CDB247#CDB247

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

Color values

HEX#CDB247
RGBrgb(205, 178, 71)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 65%, 80%)
CMYKcmyk(0%, 13.2%, 65.4%, 19.6%)
CIE-LABlab(73.07, -2.39, 56.44)
CIE-LCHlch(73.07, 56.49, 92.42°)
OKLaboklab(76.71% -0.0111 0.128)
OKLCHoklch(76.71% 0.128 95)
XYZxyz(42.2365, 45.2770, 12.4746)
Luminance0.4527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB247 #4762CD
analogous
#CD6F47 #CDB247 #A5CD47
triadic
#CDB247 #47CDB2 #B247CD
tetradic
#CDB247 #47CD6F #4762CD #CD47A5
square
#CDB247 #47CD6F #4762CD #CD47A5
split-complementary
#CDB247 #47A5CD #6F47CD
monochromatic
#796721 #A9902E #CDB247 #DAC677 #E7DAA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB247#FFFFFF#000000##000000
##CDB2471.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)
#C3AF3A
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb247;
/* rgb */ color: rgb(205, 178, 71);
/* oklch */ color: oklch(76.7% 0.128 95.0);
Tailwind
colors: {
  custom: {
    50: '#e0c87f',
    500: '#cdb247',
    950: '#000000',
  },
}
SCSS
$custom: #cdb247;
$custom-light: #e0c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb247",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 47.91,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76712,
    "c": 0.12849,
    "h": 95
  },
  "luminance": 0.45275
}

Semantic roles & 50–950 ramp

primary
#CDB247
secondary
#9BA7D4
accent
#66E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB247

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

Preview Lab → · Contrast checker → · Palette generator →

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