#CDBA4F#CDBA4F

#CDBA4F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.128 H 99.3°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CDBA4F
RGBrgb(205, 186, 79)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 61%, 80%)
CMYKcmyk(0%, 9.3%, 61.5%, 19.6%)
CIE-LABlab(75.24, -6.06, 55.27)
CIE-LCHlch(75.24, 55.60, 96.25°)
OKLaboklab(78.45% -0.0207 0.1267)
OKLCHoklch(78.45% 0.128 99.3)
XYZxyz(44.1488, 48.6634, 14.4631)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA4F #4F62CD
analogous
#CD7B4F #CDBA4F #A1CD4F
triadic
#CDBA4F #4FCDBA #BA4FCD
tetradic
#CDBA4F #4FCD7B #4F62CD #CD4FA1
square
#CDBA4F #4FCD7B #4F62CD #CD4FA1
split-complementary
#CDBA4F #4FA1CD #7B4FCD
monochromatic
#7E7024 #AE9B31 #CDBA4F #DBCD7F #E8DFAE

Accessibility & contrast

On white

1.96
#CDBA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CDBA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA4F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA4F#FFFFFF#000000##000000
##CDBA4F1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#D0BC54
Tritanopia (blue-blind)
#DCAEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba4f;
/* rgb */ color: rgb(205, 186, 79);
/* oklch */ color: oklch(78.5% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#dfce85',
    500: '#cdba4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdba4f;
$custom-light: #dfce85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba4f",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 50.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78451,
    "c": 0.12837,
    "h": 99.3
  },
  "luminance": 0.48661
}

Semantic roles & 50–950 ramp

primary
#CDBA4F
secondary
#A2AAD6
accent
#5FDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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