#CDB347#CDB347

#CDB347 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.129 H 95.6°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CDB347
RGBrgb(205, 179, 71)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 65%, 80%)
CMYKcmyk(0%, 12.7%, 65.4%, 19.6%)
CIE-LABlab(73.34, -2.91, 56.72)
CIE-LCHlch(73.34, 56.79, 92.94°)
OKLaboklab(76.92% -0.0126 0.1286)
OKLCHoklch(76.92% 0.129 95.6)
XYZxyz(42.4362, 45.6764, 12.5412)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB347 #4761CD
analogous
#CD7047 #CDB347 #A4CD47
triadic
#CDB347 #47CDB3 #B347CD
tetradic
#CDB347 #47CD70 #4761CD #CD47A4
square
#CDB347 #47CD70 #4761CD #CD47A4
split-complementary
#CDB347 #47A4CD #7047CD
monochromatic
#796821 #A9912E #CDB347 #DAC777 #E7DBA7

Accessibility & contrast

On white

2.07
#CDB347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CDB347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB347
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB347#FFFFFF#000000##000000
##CDB3471.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#CBB84C
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb347;
/* rgb */ color: rgb(205, 179, 71);
/* oklch */ color: oklch(76.9% 0.129 95.6);
Tailwind
colors: {
  custom: {
    50: '#e0c97f',
    500: '#cdb347',
    950: '#000000',
  },
}
SCSS
$custom: #cdb347;
$custom-light: #e0c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb347",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 48.358,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76918,
    "c": 0.12922,
    "h": 95.6
  },
  "luminance": 0.45674
}

Semantic roles & 50–950 ramp

primary
#CDB347
secondary
#9BA6D4
accent
#65E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB347

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

Preview Lab → · Contrast checker → · Palette generator →

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