#CFBF48#CFBF48

#CFBF48 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.138 H 101.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CFBF48
RGBrgb(207, 191, 72)
HSLhsl(53, 58%, 55%)
HSVhsv(53, 65%, 81%)
CMYKcmyk(0%, 7.7%, 65.2%, 18.8%)
CIE-LABlab(76.68, -8.24, 59.88)
CIE-LCHlch(76.68, 60.44, 97.83°)
OKLaboklab(79.61% -0.0278 0.1354)
OKLCHoklch(79.61% 0.138 101.6)
XYZxyz(45.5345, 50.9968, 13.5745)
Luminance0.5100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF48 #4858CF
analogous
#CF7C48 #CFBF48 #9CCF48
triadic
#CFBF48 #48CFBF #BF48CF
tetradic
#CFBF48 #48CF7C #4858CF #CF489C
square
#CFBF48 #48CF7C #4858CF #CF489C
split-complementary
#CFBF48 #489CCF #7C48CF
monochromatic
#7C7121 #AD9D2D #CFBF48 #DCD078 #E8E1A9

Accessibility & contrast

On white

1.88
#CFBF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CFBF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF48
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF48#FFFFFF#000000##000000
##CFBF481.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D5C04F
Tritanopia (blue-blind)
#DEB2A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf48;
/* rgb */ color: rgb(207, 191, 72);
/* oklch */ color: oklch(79.6% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#e1d281',
    500: '#cfbf48',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf48;
$custom-light: #e1d281;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf48",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 52.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79612,
    "c": 0.13822,
    "h": 101.6
  },
  "luminance": 0.50995
}

Semantic roles & 50–950 ramp

primary
#CFBF48
secondary
#374084
accent
#59E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBF48

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

Preview Lab → · Contrast checker → · Palette generator →

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