#CDB246#CDB246

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

Color values

HEX#CDB246
RGBrgb(205, 178, 70)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 13.2%, 65.9%, 19.6%)
CIE-LABlab(73.07, -2.45, 56.86)
CIE-LCHlch(73.07, 56.91, 92.46°)
OKLaboklab(76.7% -0.0114 0.1288)
OKLCHoklch(76.7% 0.129 95.1)
XYZxyz(42.2047, 45.2643, 12.3070)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB246 #4661CD
analogous
#CD6F46 #CDB246 #A5CD46
triadic
#CDB246 #46CDB2 #B246CD
tetradic
#CDB246 #46CD6F #4661CD #CD46A5
square
#CDB246 #46CD6F #4661CD #CD46A5
split-complementary
#CDB246 #46A5CD #6F46CD
monochromatic
#786720 #A8902D #CDB246 #DAC676 #E7DAA6

Accessibility & contrast

On white

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

On black

10.05
#CDB246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB246
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB246#FFFFFF#000000##000000
##CDB2461.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb246;
/* rgb */ color: rgb(205, 178, 70);
/* oklch */ color: oklch(76.7% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#e0c87e',
    500: '#cdb246',
    950: '#000000',
  },
}
SCSS
$custom: #cdb246;
$custom-light: #e0c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb246",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 48,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76703,
    "c": 0.12925,
    "h": 95.1
  },
  "luminance": 0.45262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB246

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

Preview Lab → · Contrast checker → · Palette generator →

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