#CDAF4B#CDAF4B

#CDAF4B is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.123 H 92.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CDAF4B
RGBrgb(205, 175, 75)
HSLhsl(46, 57%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 14.6%, 63.4%, 19.6%)
CIE-LABlab(72.33, -0.56, 53.87)
CIE-LCHlch(72.33, 53.87, 90.59°)
OKLaboklab(76.13% -0.0054 0.1232)
OKLCHoklch(76.13% 0.123 92.5)
XYZxyz(41.7788, 44.1493, 12.9763)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF4B #4B69CD
analogous
#CD6E4B #CDAF4B #AACD4B
triadic
#CDAF4B #4BCDAF #AF4BCD
tetradic
#CDAF4B #4BCD6E #4B69CD #CD4BAA
square
#CDAF4B #4BCD6E #4B69CD #CD4BAA
split-complementary
#CDAF4B #4BAACD #6E4BCD
monochromatic
#7B6722 #AB8F30 #CDAF4B #DAC47B #E8DAAB

Accessibility & contrast

On white

2.14
#CDAF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CDAF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF4B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF4B#FFFFFF#000000##000000
##CDAF4B1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC40
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf4b;
/* rgb */ color: rgb(205, 175, 75);
/* oklch */ color: oklch(76.1% 0.123 92.5);
Tailwind
colors: {
  custom: {
    50: '#dfc681',
    500: '#cdaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf4b;
$custom-light: #dfc681;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf4b",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 46.154,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76134,
    "c": 0.12327,
    "h": 92.5
  },
  "luminance": 0.44147
}

Semantic roles & 50–950 ramp

primary
#CDAF4B
secondary
#9FABD5
accent
#6BE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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