#CDB147#CDB147

#CDB147 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.128 H 94.3°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CDB147
RGBrgb(205, 177, 71)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 13.7%, 65.4%, 19.6%)
CIE-LABlab(72.81, -1.86, 56.16)
CIE-LCHlch(72.81, 56.19, 91.90°)
OKLaboklab(76.51% -0.0096 0.1274)
OKLCHoklch(76.51% 0.128 94.3)
XYZxyz(42.0383, 44.8805, 12.4086)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB147 #4763CD
analogous
#CD6E47 #CDB147 #A6CD47
triadic
#CDB147 #47CDB1 #B147CD
tetradic
#CDB147 #47CD6E #4763CD #CD47A6
square
#CDB147 #47CD6E #4763CD #CD47A6
split-complementary
#CDB147 #47A6CD #6E47CD
monochromatic
#796621 #A98F2E #CDB147 #DAC577 #E7DAA7

Accessibility & contrast

On white

2.11
#CDB147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CDB147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB147
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB147#FFFFFF#000000##000000
##CDB1471.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3A
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#DDA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb147;
/* rgb */ color: rgb(205, 177, 71);
/* oklch */ color: oklch(76.5% 0.128 94.3);
Tailwind
colors: {
  custom: {
    50: '#e0c87f',
    500: '#cdb147',
    950: '#000000',
  },
}
SCSS
$custom: #cdb147;
$custom-light: #e0c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb147",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 47.463,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.12778,
    "h": 94.3
  },
  "luminance": 0.44878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB147

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

Preview Lab → · Contrast checker → · Palette generator →

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