#CFBB48#CFBB48

#CFBB48 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.135 H 99.4°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CFBB48
RGBrgb(207, 187, 72)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 65%, 81%)
CMYKcmyk(0%, 9.7%, 65.2%, 18.8%)
CIE-LABlab(75.62, -6.17, 58.77)
CIE-LCHlch(75.62, 59.09, 95.99°)
OKLaboklab(78.78% -0.0219 0.133)
OKLCHoklch(78.78% 0.135 99.4)
XYZxyz(44.6741, 49.2759, 13.2877)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB48 #485CCF
analogous
#CF7748 #CFBB48 #A0CF48
triadic
#CFBB48 #48CFBB #BB48CF
tetradic
#CFBB48 #48CF77 #485CCF #CF48A0
square
#CFBB48 #48CF77 #485CCF #CF48A0
split-complementary
#CFBB48 #48A0CF #7748CF
monochromatic
#7C6F21 #AD9A2D #CFBB48 #DCCD78 #E8DFA9

Accessibility & contrast

On white

1.93
#CFBB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CFBB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB48
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB48#FFFFFF#000000##000000
##CFBB481.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63A
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#DEAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfbb48;
/* rgb */ color: rgb(207, 187, 72);
/* oklch */ color: oklch(78.8% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#e1cf80',
    500: '#cfbb48',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb48;
$custom-light: #e1cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb48",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 51.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78776,
    "c": 0.13484,
    "h": 99.4
  },
  "luminance": 0.49274
}

Semantic roles & 50–950 ramp

primary
#CFBB48
secondary
#9DA5D6
accent
#5DE246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBB48

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

Preview Lab → · Contrast checker → · Palette generator →

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