#CDAF46#CDAF46

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

Color values

HEX#CDAF46
RGBrgb(205, 175, 70)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 66%, 80%)
CMYKcmyk(0%, 14.6%, 65.9%, 19.6%)
CIE-LABlab(72.28, -0.87, 56.03)
CIE-LCHlch(72.28, 56.04, 90.89°)
OKLaboklab(76.09% -0.0069 0.127)
OKLCHoklch(76.09% 0.127 93.1)
XYZxyz(41.6143, 44.0835, 12.1102)
Luminance0.4408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF46 #4664CD
analogous
#CD6C46 #CDAF46 #A8CD46
triadic
#CDAF46 #46CDAF #AF46CD
tetradic
#CDAF46 #46CD6C #4664CD #CD46A8
square
#CDAF46 #46CD6C #4664CD #CD46A8
split-complementary
#CDAF46 #46A8CD #6C46CD
monochromatic
#786520 #A88D2D #CDAF46 #DAC476 #E7D9A6

Accessibility & contrast

On white

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

On black

9.82
#CDAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF46
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF46#FFFFFF#000000##000000
##CDAF461.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaf46;
/* rgb */ color: rgb(205, 175, 70);
/* oklch */ color: oklch(76.1% 0.127 93.1);
Tailwind
colors: {
  custom: {
    50: '#e0c67e',
    500: '#cdaf46',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf46;
$custom-light: #e0c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf46",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 46.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.12718,
    "h": 93.1
  },
  "luminance": 0.44081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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