#CDBF4C#CDBF4C

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

Color values

HEX#CDBF4C
RGBrgb(205, 191, 76)
HSLhsl(53, 56%, 55%)
HSVhsv(53, 63%, 80%)
CMYKcmyk(0%, 6.8%, 62.9%, 19.6%)
CIE-LABlab(76.54, -8.84, 57.98)
CIE-LCHlch(76.54, 58.65, 98.66°)
OKLaboklab(79.47% -0.029 0.132)
OKLCHoklch(79.47% 0.135 102.4)
XYZxyz(45.1139, 50.7643, 14.2582)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF4C #4C5ACD
analogous
#CD7E4C #CDBF4C #9BCD4C
triadic
#CDBF4C #4CCDBF #BF4CCD
tetradic
#CDBF4C #4CCD7E #4C5ACD #CD4C9B
square
#CDBF4C #4CCD7E #4C5ACD #CD4C9B
split-complementary
#CDBF4C #4C9BCD #7E4CCD
monochromatic
#7C7223 #AC9E30 #CDBF4C #DAD07C #E8E1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBF4C#FFFFFF#000000##000000
##CDBF4C1.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)
#CFB93E
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#DCB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf4c;
/* rgb */ color: rgb(205, 191, 76);
/* oklch */ color: oklch(79.5% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#dfd283',
    500: '#cdbf4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf4c;
$custom-light: #dfd283;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf4c",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 53.488,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79469,
    "c": 0.13518,
    "h": 102.4
  },
  "luminance": 0.50763
}

Semantic roles & 50–950 ramp

primary
#CDBF4C
secondary
#394184
accent
#59E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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