#CDBF4B#CDBF4B

#CDBF4B is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.5% C 0.136 H 102.4°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CDBF4B
RGBrgb(205, 191, 75)
HSLhsl(54, 57%, 55%)
HSVhsv(54, 63%, 80%)
CMYKcmyk(0%, 6.8%, 63.4%, 19.6%)
CIE-LABlab(76.53, -8.90, 58.40)
CIE-LCHlch(76.53, 59.08, 98.66°)
OKLaboklab(79.46% -0.0293 0.1328)
OKLCHoklch(79.46% 0.136 102.4)
XYZxyz(45.0794, 50.7505, 14.0765)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF4B #4B59CD
analogous
#CD7E4B #CDBF4B #9ACD4B
triadic
#CDBF4B #4BCDBF #BF4BCD
tetradic
#CDBF4B #4BCD7E #4B59CD #CD4B9A
square
#CDBF4B #4BCD7E #4B59CD #CD4B9A
split-complementary
#CDBF4B #4B9ACD #7E4BCD
monochromatic
#7B7222 #AB9E30 #CDBF4B #DAD07B #E8E1AB

Accessibility & contrast

On white

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

On black

11.15
#CDBF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF4B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF4B#FFFFFF#000000##000000
##CDBF4B1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93D
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#DCB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf4b;
/* rgb */ color: rgb(205, 191, 75);
/* oklch */ color: oklch(79.5% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#dfd282',
    500: '#cdbf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf4b;
$custom-light: #dfd282;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf4b",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 53.538,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7946,
    "c": 0.13597,
    "h": 102.4
  },
  "luminance": 0.50749
}

Semantic roles & 50–950 ramp

primary
#CDBF4B
secondary
#394183
accent
#58E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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