#CDBF71#CDBF71

#CDBF71 is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.100 H 99.3°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CDBF71
RGBrgb(205, 191, 113)
HSLhsl(51, 48%, 62%)
HSVhsv(51, 45%, 80%)
CMYKcmyk(0%, 6.8%, 44.9%, 19.6%)
CIE-LABlab(76.94, -5.81, 40.99)
CIE-LCHlch(76.94, 41.40, 98.07°)
OKLaboklab(79.92% -0.0163 0.0989)
OKLCHoklch(79.92% 0.1 99.3)
XYZxyz(46.7894, 51.4345, 23.0828)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF71 #717FCD
analogous
#CD9171 #CDBF71 #ADCD71
triadic
#CDBF71 #71CDBF #BF71CD
tetradic
#CDBF71 #71CD91 #717FCD #CD71AD
square
#CDBF71 #71CD91 #717FCD #CD71AD
split-complementary
#CDBF71 #71ADCD #9171CD
monochromatic
#918233 #BDAB44 #CDBF71 #DDD39E #EDE8CC

Accessibility & contrast

On white

1.86
#CDBF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CDBF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF71
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF71#FFFFFF#000000##000000
##CDBF711.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#D1C074
Tritanopia (blue-blind)
#D9B5AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdbf71;
/* rgb */ color: rgb(205, 191, 113);
/* oklch */ color: oklch(79.9% 0.100 99.3);
Tailwind
colors: {
  custom: {
    50: '#ded29b',
    500: '#cdbf71',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf71;
$custom-light: #ded29b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf71",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 113
  },
  "hsl": {
    "h": 50.87,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.10025,
    "h": 99.3
  },
  "luminance": 0.51433
}

Semantic roles & 50–950 ramp

primary
#CDBF71
secondary
#4B5797
accent
#40BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDBF71

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

Preview Lab → · Contrast checker → · Palette generator →

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