#CDB442#CDB442

#CDB442 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.134 H 96.7°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CDB442
RGBrgb(205, 180, 66)
HSLhsl(49, 58%, 53%)
HSVhsv(49, 68%, 80%)
CMYKcmyk(0%, 12.2%, 67.8%, 19.6%)
CIE-LABlab(73.56, -3.73, 59.06)
CIE-LCHlch(73.56, 59.18, 93.61°)
OKLaboklab(77.08% -0.0155 0.1328)
OKLCHoklch(77.08% 0.134 96.7)
XYZxyz(42.4835, 46.0171, 11.7977)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB442 #425BCD
analogous
#CD6F42 #CDB442 #A0CD42
triadic
#CDB442 #42CDB4 #B442CD
tetradic
#CDB442 #42CD6F #425BCD #CD42A0
square
#CDB442 #42CD6F #425BCD #CD42A0
split-complementary
#CDB442 #42A0CD #6F42CD
monochromatic
#76661F #A6902C #CDB442 #DAC772 #E7DAA3

Accessibility & contrast

On white

2.06
#CDB442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CDB442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB442
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB442#FFFFFF#000000##000000
##CDB4421.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#DDA79D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb442;
/* rgb */ color: rgb(205, 180, 66);
/* oklch */ color: oklch(77.1% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#e0ca7c',
    500: '#cdb442',
    950: '#000000',
  },
}
SCSS
$custom: #cdb442;
$custom-light: #e0ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb442",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 49.209,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77081,
    "c": 0.13367,
    "h": 96.7
  },
  "luminance": 0.46015
}

Semantic roles & 50–950 ramp

primary
#CDB442
secondary
#97A2D3
accent
#62E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB442

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

Preview Lab → · Contrast checker → · Palette generator →

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