#CDB146#CDB146

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

Color values

HEX#CDB146
RGBrgb(205, 177, 70)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 13.7%, 65.9%, 19.6%)
CIE-LABlab(72.80, -1.92, 56.58)
CIE-LCHlch(72.80, 56.62, 91.94°)
OKLaboklab(76.5% -0.0099 0.1282)
OKLCHoklch(76.5% 0.129 94.4)
XYZxyz(42.0065, 44.8678, 12.2409)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB146 #4662CD
analogous
#CD6E46 #CDB146 #A5CD46
triadic
#CDB146 #46CDB1 #B146CD
tetradic
#CDB146 #46CD6E #4662CD #CD46A5
square
#CDB146 #46CD6E #4662CD #CD46A5
split-complementary
#CDB146 #46A5CD #6E46CD
monochromatic
#786620 #A88F2D #CDB146 #DAC576 #E7DAA6

Accessibility & contrast

On white

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

On black

9.97
#CDB146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB146
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB146#FFFFFF#000000##000000
##CDB1461.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb146;
/* rgb */ color: rgb(205, 177, 70);
/* oklch */ color: oklch(76.5% 0.129 94.4);
Tailwind
colors: {
  custom: {
    50: '#e0c87e',
    500: '#cdb146',
    950: '#000000',
  },
}
SCSS
$custom: #cdb146;
$custom-light: #e0c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb146",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 47.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76496,
    "c": 0.12855,
    "h": 94.4
  },
  "luminance": 0.44866
}

Semantic roles & 50–950 ramp

primary
#CDB146
secondary
#9BA7D4
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB146

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

Preview Lab → · Contrast checker → · Palette generator →

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