#CFBD52#CFBD52

#CFBD52 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.3% C 0.129 H 99.8°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#CFBD52
RGBrgb(207, 189, 82)
HSLhsl(51, 57%, 57%)
HSVhsv(51, 60%, 81%)
CMYKcmyk(0%, 8.7%, 60.4%, 18.8%)
CIE-LABlab(76.24, -6.56, 55.07)
CIE-LCHlch(76.24, 55.46, 96.80°)
OKLaboklab(79.29% -0.0219 0.1266)
OKLCHoklch(79.29% 0.129 99.8)
XYZxyz(45.4545, 50.2717, 15.2901)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD52 #5264CF
analogous
#CF7F52 #CFBD52 #A3CF52
triadic
#CFBD52 #52CFBD #BD52CF
tetradic
#CFBD52 #52CF7F #5264CF #CF52A3
square
#CFBD52 #52CF7F #5264CF #CF52A3
split-complementary
#CFBD52 #52A3CF #7F52CF
monochromatic
#827524 #B2A031 #CFBD52 #DCCF82 #EAE2B2

Accessibility & contrast

On white

1.90
#CFBD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#CFBD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD52
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD52#FFFFFF#000000##000000
##CFBD521.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#D2BF57
Tritanopia (blue-blind)
#DEB1A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd52;
/* rgb */ color: rgb(207, 189, 82);
/* oklch */ color: oklch(79.3% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#e1d087',
    500: '#cfbd52',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd52;
$custom-light: #e1d087;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd52",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 51.36,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7929,
    "c": 0.12851,
    "h": 99.8
  },
  "luminance": 0.5027
}

Semantic roles & 50–950 ramp

primary
#CFBD52
secondary
#3C478A
accent
#5EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #CFBD52

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

Preview Lab → · Contrast checker → · Palette generator →

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