#CDB047#CDB047

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

Color values

HEX#CDB047
RGBrgb(205, 176, 71)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 14.1%, 65.4%, 19.6%)
CIE-LABlab(72.55, -1.33, 55.88)
CIE-LCHlch(72.55, 55.90, 91.37°)
OKLaboklab(76.3% -0.0081 0.1268)
OKLCHoklch(76.3% 0.127 93.6)
XYZxyz(41.8415, 44.4870, 12.3430)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB047 #4764CD
analogous
#CD6D47 #CDB047 #A7CD47
triadic
#CDB047 #47CDB0 #B047CD
tetradic
#CDB047 #47CD6D #4764CD #CD47A7
square
#CDB047 #47CD6D #4764CD #CD47A7
split-complementary
#CDB047 #47A7CD #6D47CD
monochromatic
#796621 #A98E2E #CDB047 #DAC577 #E7D9A7

Accessibility & contrast

On white

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

On black

9.90
#CDB047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB047
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB047#FFFFFF#000000##000000
##CDB0471.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb047;
/* rgb */ color: rgb(205, 176, 71);
/* oklch */ color: oklch(76.3% 0.127 93.6);
Tailwind
colors: {
  custom: {
    50: '#e0c77f',
    500: '#cdb047',
    950: '#000000',
  },
}
SCSS
$custom: #cdb047;
$custom-light: #e0c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb047",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 47.015,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.763,
    "c": 0.12709,
    "h": 93.6
  },
  "luminance": 0.44485
}

Semantic roles & 50–950 ramp

primary
#CDB047
secondary
#9BA8D4
accent
#68E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB047

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

Preview Lab → · Contrast checker → · Palette generator →

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