#CDBF5C#CDBF5C

#CDBF5C is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.121 H 101.3°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CDBF5C
RGBrgb(205, 191, 92)
HSLhsl(53, 53%, 58%)
HSVhsv(53, 55%, 80%)
CMYKcmyk(0%, 6.8%, 55.1%, 19.6%)
CIE-LABlab(76.69, -7.69, 50.94)
CIE-LCHlch(76.69, 51.52, 98.59°)
OKLaboklab(79.64% -0.0239 0.119)
OKLCHoklch(79.64% 0.121 101.3)
XYZxyz(45.7409, 51.0151, 17.5606)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF5C #5C6ACD
analogous
#CD865C #CDBF5C #A3CD5C
triadic
#CDBF5C #5CCDBF #BF5CCD
tetradic
#CDBF5C #5CCD86 #5C6ACD #CD5CA3
square
#CDBF5C #5CCD86 #5C6ACD #CD5CA3
split-complementary
#CDBF5C #5CA3CD #865CCD
monochromatic
#867A29 #B4A537 #CDBF5C #DBD18B #EAE4BA

Accessibility & contrast

On white

1.87
#CDBF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CDBF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF5C
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF5C#FFFFFF#000000##000000
##CDBF5C1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA52
Deuteranopia (green-blind)
#D3C061
Tritanopia (blue-blind)
#DBB3A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf5c;
/* rgb */ color: rgb(205, 191, 92);
/* oklch */ color: oklch(79.6% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#dfd28d',
    500: '#cdbf5c',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf5c;
$custom-light: #dfd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf5c",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 92
  },
  "hsl": {
    "h": 52.566,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79639,
    "c": 0.12139,
    "h": 101.3
  },
  "luminance": 0.51013
}

Semantic roles & 50–950 ramp

primary
#CDBF5C
secondary
#404A8D
accent
#5DDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDBF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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