#CFBE48#CFBE48

#CFBE48 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.137 H 101.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CFBE48
RGBrgb(207, 190, 72)
HSLhsl(52, 58%, 55%)
HSVhsv(52, 65%, 81%)
CMYKcmyk(0%, 8.2%, 65.2%, 18.8%)
CIE-LABlab(76.41, -7.72, 59.60)
CIE-LCHlch(76.41, 60.10, 97.38°)
OKLaboklab(79.4% -0.0264 0.1348)
OKLCHoklch(79.4% 0.137 101.1)
XYZxyz(45.3172, 50.5621, 13.5020)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE48 #4859CF
analogous
#CF7A48 #CFBE48 #9DCF48
triadic
#CFBE48 #48CFBE #BE48CF
tetradic
#CFBE48 #48CF7A #4859CF #CF489D
square
#CFBE48 #48CF7A #4859CF #CF489D
split-complementary
#CFBE48 #489DCF #7A48CF
monochromatic
#7C7121 #AD9D2D #CFBE48 #DCCF78 #E8E0A9

Accessibility & contrast

On white

1.89
#CFBE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CFBE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE48
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE48#FFFFFF#000000##000000
##CFBE481.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB939
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#DEB1A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbe48;
/* rgb */ color: rgb(207, 190, 72);
/* oklch */ color: oklch(79.4% 0.137 101.1);
Tailwind
colors: {
  custom: {
    50: '#e1d181',
    500: '#cfbe48',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe48;
$custom-light: #e1d181;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe48",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 72
  },
  "hsl": {
    "h": 52.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79403,
    "c": 0.13736,
    "h": 101.1
  },
  "luminance": 0.5056
}

Semantic roles & 50–950 ramp

primary
#CFBE48
secondary
#374184
accent
#5AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE48

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

Preview Lab → · Contrast checker → · Palette generator →

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