#CFBA48#CFBA48

#CFBA48 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.134 H 98.8°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CFBA48
RGBrgb(207, 186, 72)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 65%, 81%)
CMYKcmyk(0%, 10.1%, 65.2%, 18.8%)
CIE-LABlab(75.36, -5.65, 58.49)
CIE-LCHlch(75.36, 58.76, 95.52°)
OKLaboklab(78.57% -0.0205 0.1325)
OKLCHoklch(78.57% 0.134 98.8)
XYZxyz(44.4627, 48.8531, 13.2172)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA48 #485DCF
analogous
#CF7748 #CFBA48 #A0CF48
triadic
#CFBA48 #48CFBA #BA48CF
tetradic
#CFBA48 #48CF77 #485DCF #CF48A0
square
#CFBA48 #48CF77 #485DCF #CF48A0
split-complementary
#CFBA48 #48A0CF #7748CF
monochromatic
#7C6E21 #AD992D #CFBA48 #DCCC78 #E8DFA9

Accessibility & contrast

On white

1.95
#CFBA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CFBA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA48
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA48#FFFFFF#000000##000000
##CFBA481.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#DEADA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba48;
/* rgb */ color: rgb(207, 186, 72);
/* oklch */ color: oklch(78.6% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#e1ce80',
    500: '#cfba48',
    950: '#000000',
  },
}
SCSS
$custom: #cfba48;
$custom-light: #e1ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba48",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 50.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78567,
    "c": 0.13402,
    "h": 98.8
  },
  "luminance": 0.48851
}

Semantic roles & 50–950 ramp

primary
#CFBA48
secondary
#9DA6D6
accent
#5EE246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA48

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

Preview Lab → · Contrast checker → · Palette generator →

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