#CFBD54#CFBD54

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

Color values

HEX#CFBD54
RGBrgb(207, 189, 84)
HSLhsl(51, 56%, 57%)
HSVhsv(51, 59%, 81%)
CMYKcmyk(0%, 8.7%, 59.4%, 18.8%)
CIE-LABlab(76.25, -6.42, 54.19)
CIE-LCHlch(76.25, 54.57, 96.76°)
OKLaboklab(79.31% -0.0213 0.125)
OKLCHoklch(79.31% 0.127 99.7)
XYZxyz(45.5317, 50.3026, 15.6968)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD54 #5466CF
analogous
#CF8054 #CFBD54 #A3CF54
triadic
#CFBD54 #54CFBD #BD54CF
tetradic
#CFBD54 #54CF80 #5466CF #CF54A3
square
#CFBD54 #54CF80 #5466CF #CF54A3
split-complementary
#CFBD54 #54A3CF #8054CF
monochromatic
#847625 #B3A132 #CFBD54 #DCCF84 #EAE2B4

Accessibility & contrast

On white

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

On black

11.06
#CFBD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD54
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD54#FFFFFF#000000##000000
##CFBD541.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbd54;
/* rgb */ color: rgb(207, 189, 84);
/* oklch */ color: oklch(79.3% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0d088',
    500: '#cfbd54',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd54;
$custom-light: #e0d088;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd54",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 51.22,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79311,
    "c": 0.12681,
    "h": 99.7
  },
  "luminance": 0.50301
}

Semantic roles & 50–950 ramp

primary
#CFBD54
secondary
#3C488B
accent
#5EDF48
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #CFBD54

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

Preview Lab → · Contrast checker → · Palette generator →

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