#CDAB37#CDAB37

#CDAB37 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.1% C 0.135 H 92.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CDAB37
RGBrgb(205, 171, 55)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 73%, 80%)
CMYKcmyk(0%, 16.6%, 73.2%, 19.6%)
CIE-LABlab(71.13, 0.46, 61.02)
CIE-LCHlch(71.13, 61.02, 89.57°)
OKLaboklab(75.14% -0.0048 0.1349)
OKLCHoklch(75.14% 0.135 92)
XYZxyz(40.4316, 42.3832, 9.6649)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB37 #3759CD
analogous
#CD6037 #CDAB37 #A4CD37
triadic
#CDAB37 #37CDAB #AB37CD
tetradic
#CDAB37 #37CD60 #3759CD #CD37A4
square
#CDAB37 #37CD60 #3759CD #CD37A4
split-complementary
#CDAB37 #37A4CD #6037CD
monochromatic
#6E5B1C #9F8428 #CDAB37 #D9C068 #E5D499

Accessibility & contrast

On white

2.22
#CDAB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CDAB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAB37
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAB37#FFFFFF#000000##000000
##CDAB371.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA825
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#DE9D94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab37;
/* rgb */ color: rgb(205, 171, 55);
/* oklch */ color: oklch(75.1% 0.135 92.0);
Tailwind
colors: {
  custom: {
    50: '#e0c375',
    500: '#cdab37',
    950: '#000000',
  },
}
SCSS
$custom: #cdab37;
$custom-light: #e0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab37",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 46.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75141,
    "c": 0.135,
    "h": 92
  },
  "luminance": 0.42381
}

Semantic roles & 50–950 ramp

primary
#CDAB37
secondary
#8F9ED1
accent
#69E345
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAB37

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

Preview Lab → · Contrast checker → · Palette generator →

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