#CDBF48#CDBF48

#CDBF48 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.138 H 102.6°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CDBF48
RGBrgb(205, 191, 72)
HSLhsl(54, 57%, 54%)
HSVhsv(54, 65%, 80%)
CMYKcmyk(0%, 6.8%, 64.9%, 19.6%)
CIE-LABlab(76.50, -9.08, 59.64)
CIE-LCHlch(76.50, 60.33, 98.66°)
OKLaboklab(79.43% -0.0301 0.1349)
OKLCHoklch(79.43% 0.138 102.6)
XYZxyz(44.9791, 50.7104, 13.5485)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF48 #4856CD
analogous
#CD7D48 #CDBF48 #99CD48
triadic
#CDBF48 #48CDBF #BF48CD
tetradic
#CDBF48 #48CD7D #4856CD #CD4899
square
#CDBF48 #48CD7D #4856CD #CD4899
split-complementary
#CDBF48 #4899CD #7D48CD
monochromatic
#797021 #A99D2E #CDBF48 #DAD078 #E7E1A8

Accessibility & contrast

On white

1.88
#CDBF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CDBF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF48
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF48#FFFFFF#000000##000000
##CDBF481.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#DCB2A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf48;
/* rgb */ color: rgb(205, 191, 72);
/* oklch */ color: oklch(79.4% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd281',
    500: '#cdbf48',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf48;
$custom-light: #dfd281;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf48",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 53.684,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79433,
    "c": 0.13827,
    "h": 102.6
  },
  "luminance": 0.50709
}

Semantic roles & 50–950 ramp

primary
#CDBF48
secondary
#383F82
accent
#58E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBF48

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

Preview Lab → · Contrast checker → · Palette generator →

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