#CDBF47#CDBF47

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

Color values

HEX#CDBF47
RGBrgb(205, 191, 71)
HSLhsl(54, 57%, 54%)
HSVhsv(54, 65%, 80%)
CMYKcmyk(0%, 6.8%, 65.4%, 19.6%)
CIE-LABlab(76.50, -9.14, 60.05)
CIE-LCHlch(76.50, 60.74, 98.66°)
OKLaboklab(79.42% -0.0304 0.1357)
OKLCHoklch(79.42% 0.139 102.6)
XYZxyz(44.9468, 50.6975, 13.3780)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF47 #4755CD
analogous
#CD7C47 #CDBF47 #98CD47
triadic
#CDBF47 #47CDBF #BF47CD
tetradic
#CDBF47 #47CD7C #4755CD #CD4798
square
#CDBF47 #47CD7C #4755CD #CD4798
split-complementary
#CDBF47 #4798CD #7C47CD
monochromatic
#797021 #A99C2E #CDBF47 #DAD077 #E7E0A7

Accessibility & contrast

On white

1.89
#CDBF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBF47#FFFFFF#000000##000000
##CDBF471.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdbf47;
/* rgb */ color: rgb(205, 191, 71);
/* oklch */ color: oklch(79.4% 0.139 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd280',
    500: '#cdbf47',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf47;
$custom-light: #dfd280;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf47",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 53.731,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79424,
    "c": 0.13901,
    "h": 102.6
  },
  "luminance": 0.50696
}

Semantic roles & 50–950 ramp

primary
#CDBF47
secondary
#373F81
accent
#57E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBF47

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

Preview Lab → · Contrast checker → · Palette generator →

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