#CFBD48#CFBD48

#CFBD48 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.137 H 100.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CFBD48
RGBrgb(207, 189, 72)
HSLhsl(52, 58%, 55%)
HSVhsv(52, 65%, 81%)
CMYKcmyk(0%, 8.7%, 65.2%, 18.8%)
CIE-LABlab(76.15, -7.20, 59.32)
CIE-LCHlch(76.15, 59.76, 96.92°)
OKLaboklab(79.19% -0.0249 0.1342)
OKLCHoklch(79.19% 0.137 100.5)
XYZxyz(45.1013, 50.1304, 13.4301)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD48 #485ACF
analogous
#CF7A48 #CFBD48 #9ECF48
triadic
#CFBD48 #48CFBD #BD48CF
tetradic
#CFBD48 #48CF7A #485ACF #CF489E
square
#CFBD48 #48CF7A #485ACF #CF489E
split-complementary
#CFBD48 #489ECF #7A48CF
monochromatic
#7C7021 #AD9C2D #CFBD48 #DCCE78 #E8E0A9

Accessibility & contrast

On white

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

On black

11.03
#CFBD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD48
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD48#FFFFFF#000000##000000
##CFBD481.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#DEB0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd48;
/* rgb */ color: rgb(207, 189, 72);
/* oklch */ color: oklch(79.2% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#e1d081',
    500: '#cfbd48',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd48;
$custom-light: #e1d081;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd48",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 52,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79193,
    "c": 0.1365,
    "h": 100.5
  },
  "luminance": 0.50128
}

Semantic roles & 50–950 ramp

primary
#CFBD48
secondary
#374284
accent
#5BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #CFBD48

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

Preview Lab → · Contrast checker → · Palette generator →

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