#CFBD51#CFBD51

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

Color values

HEX#CFBD51
RGBrgb(207, 189, 81)
HSLhsl(51, 57%, 56%)
HSVhsv(51, 61%, 81%)
CMYKcmyk(0%, 8.7%, 60.9%, 18.8%)
CIE-LABlab(76.23, -6.63, 55.51)
CIE-LCHlch(76.23, 55.90, 96.81°)
OKLaboklab(79.28% -0.0222 0.1274)
OKLCHoklch(79.28% 0.129 99.9)
XYZxyz(45.4167, 50.2566, 15.0912)
Luminance0.5026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD51 #5163CF
analogous
#CF7E51 #CFBD51 #A2CF51
triadic
#CFBD51 #51CFBD #BD51CF
tetradic
#CFBD51 #51CF7E #5163CF #CF51A2
square
#CFBD51 #51CF7E #5163CF #CF51A2
split-complementary
#CFBD51 #51A2CF #7E51CF
monochromatic
#827424 #B29F31 #CFBD51 #DCCF81 #E9E1B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBD51#FFFFFF#000000##000000
##CFBD511.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)
#CDB845
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#DEB0A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd51;
/* rgb */ color: rgb(207, 189, 81);
/* oklch */ color: oklch(79.3% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#e1d086',
    500: '#cfbd51',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd51;
$custom-light: #e1d086;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd51",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 51.429,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7928,
    "c": 0.12935,
    "h": 99.9
  },
  "luminance": 0.50255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBD51

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

Preview Lab → · Contrast checker → · Palette generator →

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