#CDB346#CDB346

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

Color values

HEX#CDB346
RGBrgb(205, 179, 70)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 12.7%, 65.9%, 19.6%)
CIE-LABlab(73.33, -2.97, 57.14)
CIE-LCHlch(73.33, 57.21, 92.98°)
OKLaboklab(76.91% -0.0129 0.1293)
OKLCHoklch(76.91% 0.13 95.7)
XYZxyz(42.4044, 45.6637, 12.3736)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB346 #4660CD
analogous
#CD7046 #CDB346 #A4CD46
triadic
#CDB346 #46CDB3 #B346CD
tetradic
#CDB346 #46CD70 #4660CD #CD46A4
square
#CDB346 #46CD70 #4660CD #CD46A4
split-complementary
#CDB346 #46A4CD #7046CD
monochromatic
#786720 #A8912D #CDB346 #DAC776 #E7DBA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB346#FFFFFF#000000##000000
##CDB3461.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)
#C4AF39
Deuteranopia (green-blind)
#CBB84C
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb346;
/* rgb */ color: rgb(205, 179, 70);
/* oklch */ color: oklch(76.9% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#e0c97f',
    500: '#cdb346',
    950: '#000000',
  },
}
SCSS
$custom: #cdb346;
$custom-light: #e0c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb346",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 48.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76909,
    "c": 0.12998,
    "h": 95.7
  },
  "luminance": 0.45662
}

Semantic roles & 50–950 ramp

primary
#CDB346
secondary
#9BA6D4
accent
#65E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB346

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

Preview Lab → · Contrast checker → · Palette generator →

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