#CFBF55#CFBF55

#CFBF55 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.128 H 100.8°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CFBF55
RGBrgb(207, 191, 85)
HSLhsl(52, 56%, 57%)
HSVhsv(52, 59%, 81%)
CMYKcmyk(0%, 7.7%, 58.9%, 18.8%)
CIE-LABlab(76.79, -7.38, 54.34)
CIE-LCHlch(76.79, 54.84, 97.74°)
OKLaboklab(79.74% -0.0239 0.1255)
OKLCHoklch(79.74% 0.128 100.8)
XYZxyz(46.0043, 51.1847, 16.0489)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF55 #5565CF
analogous
#CF8255 #CFBF55 #A2CF55
triadic
#CFBF55 #55CFBF #BF55CF
tetradic
#CFBF55 #55CF82 #5565CF #CF55A2
square
#CFBF55 #55CF82 #5565CF #CF55A2
split-complementary
#CFBF55 #55A2CF #8255CF
monochromatic
#847825 #B4A333 #CFBF55 #DCD185 #EAE3B4

Accessibility & contrast

On white

1.87
#CFBF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#CFBF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF55
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF55#FFFFFF#000000##000000
##CFBF551.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4A
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#DEB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf55;
/* rgb */ color: rgb(207, 191, 85);
/* oklch */ color: oklch(79.7% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#e0d289',
    500: '#cfbf55',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf55;
$custom-light: #e0d289;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf55",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 85
  },
  "hsl": {
    "h": 52.131,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79739,
    "c": 0.12771,
    "h": 100.8
  },
  "luminance": 0.51183
}

Semantic roles & 50–950 ramp

primary
#CFBF55
secondary
#3D478B
accent
#5CDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBF55

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

Preview Lab → · Contrast checker → · Palette generator →

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